[LLVMbugs] [Bug 14624] New: Compilation of assembly-with-cpp gets filename wrong in debug output
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Dec 17 11:10:08 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14624
Bug #: 14624
Summary: Compilation of assembly-with-cpp gets filename wrong
in debug output
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Driver
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: echristo at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
athyra:~> cat foo.S
#if defined(__x86_64__)
foo:
nop
nop
nop
#endif
athyra:~> clang -g -c foo.S -o foo.o -v
athyra:~> llvm-dwarfdump foo.o | grep AT_name
DW_AT_name DW_FORM_string
DW_AT_name DW_FORM_string
0x00000020: DW_AT_name [DW_FORM_string] ("/tmp/foo-jtVeTR.s")
the name of the file should be foo.S, e.g.:
athyra:~> gcc -g -c foo.S -o foo.o -v
athyra:~> llvm-dwarfdump foo.o | grep AT_name
DW_AT_name DW_FORM_string
0x00000020: DW_AT_name [DW_FORM_string] ("foo.S")
--
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.
More information about the llvm-bugs
mailing list