diff options
author | Devang Patel <dpatel@apple.com> | 2008-12-17 22:39:29 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-12-17 22:39:29 +0000 |
commit | 90ba91574ab52f5ce08ea24c2b80fbd3f69018a5 (patch) | |
tree | d3136258bbfe431ff349ba53b9d3fd40a2b31b2b /clang/lib/Lex/PTHLexer.cpp | |
parent | e013c7f6c135ee98312b6048720e83d3f26682db (diff) | |
download | bcm5719-llvm-90ba91574ab52f5ce08ea24c2b80fbd3f69018a5.tar.gz bcm5719-llvm-90ba91574ab52f5ce08ea24c2b80fbd3f69018a5.zip |
Today the front-ends (llvm-gcc and clang) generate multiple llvm.dbg.compile_units to identify source file for various debug entities. Each llvm.dbg.compile_unit matches one file on the disk. However, the backend only supports one DW_TAG_compile_unit per .o file. The backend selects first compile_unit from the vector to construct DW_TAG_compile_unit entry, which is not correct in all cases.
First step to resolve this is, record file name and directory directly in debug info for various debug entities.
llvm-svn: 61164
Diffstat (limited to 'clang/lib/Lex/PTHLexer.cpp')
0 files changed, 0 insertions, 0 deletions