http://llvm.org/bugs/show_bug.cgi?id=11740
Bug #: 11740
Summary: can't use clang -g to assemble .s file with .file
directive
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
$ cat x.s
.file "x.ll"
$ clang -g x.s -c -o x.o
x.s:1:2: error: input can't have .file dwarf directives when -g is used to
generate dwarf debug info for assembly code
.file "x.ll"
^
Yes, I'd like to pass -g to the compiler even when its input is a .s file. Even
if the compiler isn't generating debug info so to speak. Please don't error on
this!
--
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