hanchenye-llvm-project/clang/lib
Daniel Dunbar 3b358a3d83 Make debug info work when using -save-temps.
- This is pretty ugly, but the most obvious solution. Chime in if you
   have a nicer one.

 - The problem is that with -save-temps, clang-cc has no idea what the
   name of the original input file is. However, the user expects to be
   able to set breakpoints based on the input file name.

 - We support this by providing a new option -main-file-name (similar
   to -dumpbase used by gcc) which allows the driver to pass in the
   original file name.

 - <rdar://problem/6753383> building with clang using --save-temps
   gets the compile unit name from the .i file...

llvm-svn: 68595
2009-04-08 05:11:16 +00:00
..
AST improve compatibility with VC+, patch by John Thompson! 2009-04-08 03:33:43 +00:00
Analysis New static analyzer check by Nikita Zhuk! 2009-04-08 03:07:17 +00:00
Basic remove fixme! 2009-04-08 03:47:39 +00:00
CodeGen Make debug info work when using -save-temps. 2009-04-08 05:11:16 +00:00
Driver Make debug info work when using -save-temps. 2009-04-08 05:11:16 +00:00
Frontend Fix output of ranges in analyzer plist files. 2009-04-05 02:08:28 +00:00
Headers define __va_copy unconditionally, but va_copy only in c99 or non-ansi mode. 2009-04-07 05:12:42 +00:00
Lex Set __PIC__ (more) correctly. 2009-04-08 03:03:23 +00:00
Parse Fix <rdar://problem/6764172> [sema] crash on invalid. 2009-04-07 22:56:58 +00:00
Rewrite Build system changes to use TableGen to generate the various 2009-03-16 23:06:59 +00:00
Sema Now that we have __weak defined as attribute in all modes, 2009-04-07 21:25:06 +00:00
CMakeLists.txt Really fix cmake style builds. 2009-03-24 17:52:34 +00:00
Makefile Stub out some structure for C++ driver. 2009-03-02 19:59:07 +00:00