summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2018-02-26 21:15:49 +0000
committerAdam Nemet <anemet@apple.com>2018-02-26 21:15:49 +0000
commitcb651c05d6097a7a4747bdf6ad098a73bc856ea5 (patch)
treeb8927613662816175c9f35ace60386e7c8731aff /llvm
parent6fd19ca763df365a621eebf408c3c14e75feb33f (diff)
downloadbcm5719-llvm-cb651c05d6097a7a4747bdf6ad098a73bc856ea5.tar.gz
bcm5719-llvm-cb651c05d6097a7a4747bdf6ad098a73bc856ea5.zip
opt-viewer: also find thinlto opt.yaml files
llvm-svn: 326124
Diffstat (limited to 'llvm')
-rw-r--r--llvm/tools/opt-viewer/optrecord.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/opt-viewer/optrecord.py b/llvm/tools/opt-viewer/optrecord.py
index f79e05124b2..8cf22ee3f05 100644
--- 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
OpenPOWER on IntegriCloud