projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fd19ca
)
opt-viewer: also find thinlto opt.yaml files
author
Adam Nemet
<anemet@apple.com>
Mon, 26 Feb 2018 21:15:49 +0000
(21:15 +0000)
committer
Adam Nemet
<anemet@apple.com>
Mon, 26 Feb 2018 21:15:49 +0000
(21:15 +0000)
llvm-svn: 326124
llvm/tools/opt-viewer/optrecord.py
patch
|
blob
|
history
diff --git
a/llvm/tools/opt-viewer/optrecord.py
b/llvm/tools/opt-viewer/optrecord.py
index
f79e051
..
8cf22ee
100644
(file)
--- a/
llvm/tools/opt-viewer/optrecord.py
+++ b/
llvm/tools/opt-viewer/optrecord.py
@@
-328,6
+328,6
@@
def find_opt_files(*dirs_or_files):
subdirs[:] = [d for d in subdirs
if not os.path.ismount(os.path.join(dir, d))]
for file in files:
- if fnmatch.fnmatch(file, "*.opt.yaml"):
+ if fnmatch.fnmatch(file, "*.opt.yaml
*
"):
all.append(os.path.join(dir, file))
return all