- Oct 14, 2009
-
-
Devang Patel authored
s/DebugLoc.InlinedLoc/DebugLoc.InlinedAtLoc/g llvm-svn: 84054
-
- Oct 13, 2009
-
-
Daniel Dunbar authored
llvm-svn: 83950
-
Devang Patel authored
llvm-svn: 83922
-
- Oct 10, 2009
-
-
Devang Patel authored
Extract scope information from the variable itself, instead of relying on alloca or llvm.dbg.declare location. While recording beginning of a function, use scope info from the first location entry instead of just relying on first location entry itself. llvm-svn: 83684
-
- Oct 09, 2009
-
-
Devang Patel authored
Check invalid debug info for enums. This may happen when underlyng enum is optimized away. Eventually DwarfChecker will clean this up during llvm verification stage. llvm-svn: 83655
-
- Oct 08, 2009
-
-
Devang Patel authored
Do not record line number to implicitly mark start of function if function has arguments. Extra line number entries trip gdb in some cases. llvm-svn: 83563
-
- Oct 06, 2009
-
-
Devang Patel authored
This is not yet enabled. llvm-svn: 83400
-
Dan Gohman authored
verbose-asm mode, print comments instead. This eliminates a non-comment difference between verbose-asm mode and non-verbose-asm mode. Also, factor out the relevant code out of all the targets and into target-independent code. llvm-svn: 83392
-
Devang Patel authored
llvm-svn: 83367
-
Devang Patel authored
Update processDebugLoc() so that it can be used to process debug info before and after printing an instruction. llvm-svn: 83363
-
Devang Patel authored
llvm-svn: 83362
-
Devang Patel authored
This will be used by processDebugLoc(). llvm-svn: 83361
-
Devang Patel authored
llvm-svn: 83356
-
Devang Patel authored
llvm-svn: 83355
-
Devang Patel authored
Existence of a compile unit for input source file is a good indicator to check debug info's presence in a module. llvm-svn: 83348
-
Devang Patel authored
This can happen if debug info is processed lazily. llvm-svn: 83347
-
Devang Patel authored
void foo() { static int bar = 42; } Here, foo's DIE is parent of bar's DIE. llvm-svn: 83344
-
Devang Patel authored
llvm-svn: 83343
-
- Oct 05, 2009
-
-
Devang Patel authored
llvm-svn: 83317
-
Chris Lattner authored
the new predicates I added) instead of going through a context and doing a pointer comparison. Besides being cheaper, this allows a smart compiler to turn the if sequence into a switch. llvm-svn: 83297
-
- Oct 01, 2009
-
-
Devang Patel authored
Add support to extract lexical scope information from DebugLoc attached with an machine instruction. This is not yet enabled. llvm-svn: 83210
-
Devang Patel authored
llvm-svn: 83207
-
Devang Patel authored
llvm-svn: 83190
-
Devang Patel authored
This will allow processDebugLoc() to handle scopes for DWARF debug info. llvm-svn: 83183
-
Devang Patel authored
llvm-svn: 83182
-
Bob Wilson authored
to emit target-specific things at the beginning of the asm output. This fixes a problem for PPC, where the text sections are not being kept together as expected. The base class doInitialization code calls DW->BeginModule() which emits a bunch of DWARF section directives. The PPC doInitialization code then emits all the TEXT section directives, with the intention that they will be kept together. But as I understand it, the Darwin assembler treats the default TEXT section as a special case and moves it to the beginning of the file, which means that all those DWARF sections are in the middle of the text. With this change, the EmitStartOfAsmFile hook is called before the DWARF section directives are emitted, so that all the PPC text section directives come out right at the beginning of the file. llvm-svn: 83176
-
- Sep 30, 2009
-
-
Bob Wilson authored
llvm-svn: 83171
-
Mike Stump authored
information. This allows arbitrary code involving DW_OP_plus_uconst and DW_OP_deref. The scheme allows for easy extention to include, any, or all of the DW_OP_ opcodes. I thought about just exposing all of them, but, wasn't sure if people wanted the dwarf opcodes exposed in the api. Is that a layering violation? With this scheme, the entire existing block scheme used by llvm-gcc can be switched over to the new scheme. I think that would be cleaner, as then the compiler specific bits are not present in llvm proper. Before the old code can be yanked however, similar code in clang would have to be removed. Next up, more testing. llvm-svn: 83120
-
- Sep 29, 2009
-
-
Devang Patel authored
llvm-svn: 83083
-
- Sep 25, 2009
-
-
Mike Stump authored
delete a few blank lines. llvm-svn: 82729
-
Mike Stump authored
llvm-svn: 82727
-
- Sep 24, 2009
-
-
Chris Lattner authored
unconditionally compute MMI even if the target doesn't support EH or Debug info, because the target may use it for other things, this fixes PR5036 llvm-svn: 82684
-
- Sep 23, 2009
-
-
Mike Stump authored
llvm-svn: 82591
-
- Sep 20, 2009
-
-
Bill Wendling authored
U lib/CodeGen/AsmPrinter/DwarfException.cpp U lib/CodeGen/AsmPrinter/DwarfException.h --- Reverse-merging r82274 into '.': U lib/Target/TargetLoweringObjectFile.cpp G lib/CodeGen/AsmPrinter/DwarfException.cpp These revisions were breaking everything. llvm-svn: 82396
-
Bill Wendling authored
internal, they shouldn't use the indirect pointer stuff. In the case of throw_rethrow_test, it was marked as 'internal' and calculated its own offset to its contents. llvm-svn: 82354
-
- Sep 19, 2009
-
-
Daniel Dunbar authored
llvm-svn: 82333
-
Daniel Dunbar authored
llvm-svn: 82332
-
- Sep 18, 2009
-
-
Bill Wendling authored
llvm-svn: 82282
-
Bill Wendling authored
into the __DATA section. At launch time, dyld has to update most of the section to fix up the type info pointers. It's better to place it into the __TEXT section and use pc-rel indirect pointer encodings. Similar to the personality routine. llvm-svn: 82274
-
Chris Lattner authored
Overriding doFinalization is pretty lame. llvm-svn: 82268
-