Skip to content

Commit

Permalink
Revert "[opt-viewer] Use safe yaml load_all"
Browse files Browse the repository at this point in the history
This reverts commit 1123e03.

Broken on the AIX platform.
  • Loading branch information
kongy committed Nov 1, 2021
1 parent b554e41 commit c060457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/tools/opt-viewer/optrecord.py
Expand Up @@ -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_:
Expand Down

0 comments on commit c060457

Please sign in to comment.