http://llvm.org/bugs/show_bug.cgi?id=11780
Bug #: 11780
Summary: using assert in generated files embeds the build dir
in the output
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Core LLVM classes
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
while debugging a bootstrap failure I noticed that the the build dir name was
included in some object files. The problem is that an gets expanded to
((!isalignmentExpr) ? static_cast<void> (0) : __assert_fail
("!isalignmentExpr",
"/home/espindola/llvm/build/tools/clang/lib/AST/../../include/clang/AST/Attrs.inc",
161, __PRETTY_FUNCTION__));
I am not sure what is the best way to fix this. Maybe we just need another
macro, maybe the code with the assert should be factored to a .cpp file.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs