http://llvm.org/bugs/show_bug.cgi?id=8628
Summary: PTX CodeGen depends on MC, doesn't build with clang
-O0
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: PTX
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Function PTXMCAsmStreamer::EmitDwarfFileDirective in
lib/Target/PTX/PTXMCAsmStreamer.cpp contains a call to
MCStreamer::EmitDwarfFileDirective.
When built with clang -O0, tools which do link against the CodeGen libraries
but don't link against the MC library fail to build:
Undefined symbols:
"llvm::MCStreamer::EmitDwarfFileDirective(unsigned int, llvm::StringRef)",
referenced from:
llvm::PTXMCAsmStreamer::EmitDwarfFileDirective(unsigned int,
llvm::StringRef) in libLLVMPTXCodeGen.a(PTXMCAsmStreamer.o)
"llvm::MCStreamer::EmitDwarfLocDirective(unsigned int, unsigned int, unsigned
int, unsigned int, unsigned int, unsigned int)", referenced from:
vtable for llvm::PTXMCAsmStreamer in
libLLVMPTXCodeGen.a(PTXMCAsmStreamer.o)
--
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