[LLVMbugs] [Bug 14625] New: assembler-as-cpp does not respect PWD in debug info
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Dec 17 11:25:18 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14625
Bug #: 14625
Summary: assembler-as-cpp does not respect PWD in debug info
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: chandlerc at gmail.com
CC: echristo at gmail.com, llvmbugs at cs.uiuc.edu,
nlewycky at google.com
Classification: Unclassified
% cat bug.S
#if defined(__x86_64__)
foo:
nop
nop
nop
#endif
% env PWD=/proc/self/cwd gcc -no-canonical-prefixes -g -c bug.S -o bug.o
% llvm-dwarfdump bug.o | grep DW_AT_comp_dir
DW_AT_comp_dir DW_FORM_string
0x00000026: DW_AT_comp_dir [DW_FORM_string] ("/proc/self/cwd")
% env PWD=/proc/self/cwd ./bin/clang -no-canonical-prefixes -g -c bug.S -o
bug.o
% llvm-dwarfdump bug.o | grep DW_AT_comp_dir
DW_AT_comp_dir DW_FORM_string
0x00000032: DW_AT_comp_dir [DW_FORM_string]
("/home/chandlerc/src/llvm.git/ninja-build")
This was fixed for normal compilation, but not as invocations.
--
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