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:
b554e41
)
Revert "[opt-viewer] Use safe yaml load_all"
author
Yi Kong
<yikong@google.com>
Mon, 1 Nov 2021 09:14:19 +0000
(17:14 +0800)
committer
Yi Kong
<yikong@google.com>
Mon, 1 Nov 2021 09:18:49 +0000
(17:18 +0800)
This reverts commit
1123e03a9d9401c5203ae55bff533dd4d133d8d2
.
Broken on the AIX platform.
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
bd5ef6c
..
6a53e13
100644
(file)
--- a/
llvm/tools/opt-viewer/optrecord.py
+++ b/
llvm/tools/opt-viewer/optrecord.py
@@
-274,7
+274,7
@@
def get_remarks(input_file, filter_=None):
file_remarks = defaultdict(functools.partial(defaultdict, list))
with io.open(input_file, encoding = 'utf-8') as f:
- docs = yaml.
safe_
load_all(f, Loader=Loader)
+ docs = yaml.load_all(f, Loader=Loader)
filter_e = None
if filter_: