[llvm-bugs] [Bug 29043] New: -Rpass* options are ignored with -save-temps
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Aug 18 16:25:27 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=29043
Bug ID: 29043
Summary: -Rpass* options are ignored with -save-temps
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Driver
Assignee: unassignedclangbugs at nondot.org
Reporter: anemet at apple.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
/org/llvm/build? cat /tmp/s.c
__attribute__((noinline)) int f() {
return 1;
}
int g() {
return f() + 4;
}
/org/llvm/build? ./bin/clang /tmp/s.c -O0 -Rpass-missed=. -c
/tmp/s.c:6:10: remark: f will not be inlined into g [-Rpass-missed=inline]
return f() + 4;
^
/org/llvm/build? ./bin/clang /tmp/s.c -O0 -Rpass-missed=. -c -save-temps
/org/llvm/build?
In this case EmitBackendOutput is called in CodeGenAction::ExecuteAction which
does not set up the DiagnosticHandler.
--
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/20160818/3976bc23/attachment.html>
More information about the llvm-bugs
mailing list