[llvm-bugs] [Bug 30662] New: "-mllvm -print-before=<pass_name>" not working when invoked with clang
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Oct 11 14:14:58 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30662
Bug ID: 30662
Summary: "-mllvm -print-before=<pass_name>" not working when
invoked with clang
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Driver
Assignee: unassignedclangbugs at nondot.org
Reporter: sgundapa at codeaurora.org
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
$ touch /tmp/test.c && ./bin/clang -mllvm -print-before=verify -c -emit-llvm
/tmp/1.c
clang (LLVM option parsing): for the -print-before option: Cannot find option
named 'verify'!
Looks like the passes were not registered by the time we parse the command line
when invoked with clang. However, the option works perfectly fine with "llc".
FYI, same is the case with "-mllvm print-after=<pass_name>
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161011/2aab2861/attachment.html>
More information about the llvm-bugs
mailing list