summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/inline.c
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-04-23 18:09:16 +0000
committerDevang Patel <dpatel@apple.com>2009-04-23 18:09:16 +0000
commita6acb390e70453fd129cdaa19bdf8b0e206081f5 (patch)
treee1d52250bf2e2be4d890b81cba27d750a80e3010 /clang/test/CodeGen/inline.c
parent466af3eb461b017b731df1cf743a8d7fd9a168aa (diff)
downloadbcm5719-llvm-a6acb390e70453fd129cdaa19bdf8b0e206081f5.tar.gz
bcm5719-llvm-a6acb390e70453fd129cdaa19bdf8b0e206081f5.zip
Handle corner case where clang-cc is invoked directly to compile preprocessed source file without -main-file-name. In this case, CDDebugInfo is not able identify correct main source file becase SM.isFromMainFile() returns true for locations from header files as well as locations from main source file.
This patch takes conservative approach by not emitting more then one compile unit with isMain bit set. llvm-svn: 69902
Diffstat (limited to 'clang/test/CodeGen/inline.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud