summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Emit parameter and local variable debug information with -g.Sanjiv Gupta2008-05-301-1/+48
| | | | llvm-svn: 51765
* A couple minor fixes to make debug info usable for arbitrary code: don't Eli Friedman2008-05-291-0/+7
| | | | | | | | 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
* Generate subprogram debug info with -g.Sanjiv Gupta2008-05-251-48/+361
| | | | | | Also take care of freeing memory at the right places. llvm-svn: 51553
* Make debugging information usable. This is barebones, but it makes -g Eli Friedman2008-05-221-21/+51
| | | | | | | | | | | | | | 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
* Detabify.Eli Friedman2008-05-131-7/+7
| | | | llvm-svn: 51042
* Added -g command line options to clang for generating source level debug ↵Sanjiv Gupta2008-05-081-0/+171
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
OpenPOWER on IntegriCloud