hanchenye-llvm-project/clang/tools
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
..
ccc Turn on '-analyzer-eagerly-assume' by default in ccc for the static analyzer. 2009-03-25 00:32:30 +00:00
clang-cc Make debug info work when using -save-temps. 2009-04-08 05:11:16 +00:00
driver Allow CCC_ADD_ARGS to add empty arguments 2009-04-01 19:38:07 +00:00
scan-view "missing ivar release" is a performance bug. 2008-10-30 17:29:54 +00:00
CMakeLists.txt Move <root>/Driver into <root>/tools/clang-cc. 2009-03-24 03:00:12 +00:00
Makefile Move <root>/Driver into <root>/tools/clang-cc. 2009-03-24 03:00:12 +00:00