https://bugs.llvm.org/show_bug.cgi?id=33951
Bug ID: 33951
Summary: New Pass Manager does not always use
-pass-remarks-output
Product: new-bugs
Version: unspecified
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: as...@cs.washington.edu
CC: llvm-bugs@lists.llvm.org
When trying to use the `-pass-remarks-output` flag with the new pass manager,
it doesn't always work.
Using `opt <input> -passes='require<opt-remark-emit>,...' -pass-remarks='.*'
-pass-remarks-output=<remark_file> -o <output>`, the
`-pass-remarks-output=<remark_file>` is only sometimes used, based on its
value:
- if `-pass-remarks-output=-` is passed, then the yaml is printed to stdout, as
it should be.
- if `-pass-remarks-output=<remark_file>` is passed, then that file is not
created, and no yaml is printed into it.
In all of these cases, using the old pass manager (ie, `opt -inline` or
similar), then the `-pass-remarks-output=...` option does indeed print to
either stdout or the given filename.
I can provide patches for some of the opt remark tests which show this failing
only with the new pass manager.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs