| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 59032
|
| |
|
|
|
|
|
|
|
| |
1. emit proper debug info for forward decls of structs.
2. emit DW_TAG_member nodes around members of a field like llvm-gcc does.
This slows down debug info generation, but is required for correctness.
llvm-svn: 58973
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 58892
|
| |
|
|
|
|
| |
generate the type of a member.
llvm-svn: 58889
|
| |
|
|
|
|
| |
- No functionality change.
llvm-svn: 58546
|
| |
|
|
|
|
| |
type.
llvm-svn: 58497
|
| |
|
|
|
|
|
| |
recursive types.
- Style will be clean up in further patches.
llvm-svn: 58490
|
| |
|
|
|
|
| |
- No functionality change.
llvm-svn: 58488
|
| |
|
|
|
|
| |
CGDebugInfo::getOrCreateCompileUnit.
llvm-svn: 58081
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
for Obj-C methods.
llvm-svn: 57769
|
| |
|
|
|
|
|
|
|
| |
simplifies clients.
Also, add assert that RegionStack is empty when the CGDebugInfo is
destroyed.
llvm-svn: 57684
|
| |
|
|
|
|
|
|
|
|
| |
structure.
- I'm not sure yet about the behavior, but this at least prevents the
crash.
Add some asserts on RegionStack usage.
llvm-svn: 57661
|
| |
|
|
|
|
|
|
| |
- Drop Expr.h,RecordLayout.h from ASTContext.h (for DeclBase.h and
SourceLocation.h)
- Move ASTContext constructor into implementation
llvm-svn: 54627
|
| |
|
|
| |
llvm-svn: 54548
|
| |
|
|
|
|
|
|
|
|
| |
move getAsArrayType into ASTContext instead of being a method on type.
This is required because getAsArrayType(const AT), where AT is a typedef
for "int[10]" needs to return ArrayType(const int, 10).
Fixing this greatly simplifies getArrayDecayedType, which is a good sign.
llvm-svn: 54317
|
| |
|
|
| |
llvm-svn: 53121
|
| |
|
|
|
|
|
| |
Add new file to Sema Project for VS.
this unbreak the build for VS2005 (with the associated patch on llvm).
llvm-svn: 52830
|
| |
|
|
| |
llvm-svn: 52507
|
| |
|
|
| |
llvm-svn: 52140
|
| |
|
|
| |
llvm-svn: 52089
|
| |
|
|
| |
llvm-svn: 52070
|
| |
|
|
| |
llvm-svn: 51993
|
| |
|
|
| |
llvm-svn: 51765
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Also take care of freeing memory at the right places.
llvm-svn: 51553
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 51042
|
|
|
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
|