- Apr 23, 2009
-
-
Devang Patel authored
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
-
Chris Lattner authored
llvm-svn: 69873
-
- Apr 17, 2009
-
-
Devang Patel authored
llvm-svn: 69387
-
- Feb 26, 2009
-
-
Devang Patel authored
(This is not yet used.) llvm-svn: 65573
-
- Nov 10, 2008
-
-
Chris Lattner authored
using MachineModuleInfo. This runs at about the same speed as the old code, but fixes a bunch of bugs and is simpler and shorter. llvm-svn: 58971
-
- Nov 08, 2008
-
-
Daniel Dunbar authored
llvm-svn: 58892
-
- Nov 03, 2008
-
-
Chris Lattner authored
llvm-svn: 58602
-
- Nov 01, 2008
-
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58546
-
- Oct 31, 2008
-
-
Daniel Dunbar authored
recursive types. - Style will be clean up in further patches. llvm-svn: 58490
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58488
-
- Oct 24, 2008
-
-
Daniel Dunbar authored
FileIDs. This seems better conceptually and lets the SourceManager handle details of mapping the location to a file ID. - In practice, fixes an assert because this code wasn't using getPhysicalLoc. llvm-svn: 58055
-
- Oct 18, 2008
-
-
Daniel Dunbar authored
for Obj-C methods. llvm-svn: 57769
-
- Oct 17, 2008
-
-
Daniel Dunbar authored
simplifies clients. Also, add assert that RegionStack is empty when the CGDebugInfo is destroyed. llvm-svn: 57684
-
- Aug 11, 2008
-
-
Daniel Dunbar authored
llvm-svn: 54642
-
- Aug 08, 2008
-
-
Chris Lattner authored
llvm-svn: 54548
-
- Jun 09, 2008
-
-
Sanjiv Gupta authored
llvm-svn: 52140
-
- Jun 07, 2008
-
-
Sanjiv Gupta authored
llvm-svn: 52070
-
- Jun 05, 2008
-
-
Sanjiv Gupta authored
llvm-svn: 51993
-
- May 30, 2008
-
-
Sanjiv Gupta authored
llvm-svn: 51765
-
- May 29, 2008
-
-
Eli Friedman authored
emit incomplete types, because they crash llc, and always use the logical location as the current location so we don't crash doing invalid queries on CurLoc. llvm-svn: 51675
-
- May 25, 2008
-
-
Sanjiv Gupta authored
Also take care of freeing memory at the right places. llvm-svn: 51553
-
- May 22, 2008
-
-
Eli Friedman authored
actually work (instead of crashing llc), and there's enough info emitted to get line number information in gdb. This should hopefully be helpful for debugging non-working programs. I got rid of the begin/endregion calls because the implementation wasn't working; someone who knows the debugging info a bit better might try to add it. I really have no clue how a compiler is supposed to emit them. This commit shouldn't have any effect without -g. llvm-svn: 51404
-
- May 08, 2008
-
-
Sanjiv Gupta authored
Added -g command line options to clang for generating source level debug information. This patch currently enables generation of line number debug information (stoppoints) and region begin/end debug information. The new files CGDebugInfo.h and CGDebugInfo.cpp implements the debug info manager class CGDebugInfo. llvm-svn: 50848
-