- Nov 07, 2011
-
-
Eric Christopher authored
llvm-svn: 143982
-
Eric Christopher authored
llvm-svn: 143974
-
Eric Christopher authored
Fixes a self-host error. llvm-svn: 143970
-
Eric Christopher authored
llvm-svn: 143925
-
Eric Christopher authored
llvm-svn: 143924
-
Eric Christopher authored
to fix the types section (all types, not just global types), and testcases. The code to do the final emission is disabled by default. llvm-svn: 143923
-
Eric Christopher authored
the pubnames and pubtypes tables. LLDB can currently use this format and a full spec is forthcoming and submission for standardization is planned. A basic summary: The dwarf accelerator tables are an indirect hash table optimized for null lookup rather than access to known data. They are output into an on-disk format that looks like this: .-------------. | HEADER | |-------------| | BUCKETS | |-------------| | HASHES | |-------------| | OFFSETS | |-------------| | DATA | `-------------' where the header contains a magic number, version, type of hash function, the number of buckets, total number of hashes, and room for a special struct of data and the length of that struct. The buckets contain an index (e.g. 6) into the hashes array. The hashes section contains all of the 32-bit hash values in contiguous memory, and the offsets contain the offset into the data area for the particular hash. For a lookup example, we could hash a function name and take it modulo the number of buckets giving us our bucket. From there we take the bucket value as an index into the hashes table and look at each successive hash as long as the hash value is still the same modulo result (bucket value) as earlier. If we have a match we look at that same entry in the offsets table and grab the offset in the data for our final match. llvm-svn: 143921
-
Eric Christopher authored
llvm-svn: 143920
-
Eric Christopher authored
llvm-svn: 143919
-
Eric Christopher authored
llvm-svn: 143918
-
- Nov 05, 2011
-
-
Benjamin Kramer authored
Add an option to pad an uleb128 to MCObjectWriter and remove the uleb128 encoding from the DWARF asm printer. As a side effect we now print dwarf ulebs with .ascii directives. llvm-svn: 143809
-
Benjamin Kramer authored
llvm-svn: 143799
-
- Nov 04, 2011
-
-
Rafael Espindola authored
point back in the file in the included testcase. Fixes PR11300. llvm-svn: 143726
-
- Nov 03, 2011
-
-
Daniel Dunbar authored
llvm-svn: 143634
-
- Nov 02, 2011
-
-
Nick Lewycky authored
implied by directory index zero. llvm-svn: 143570
-
- Oct 28, 2011
-
-
NAKAMURA Takumi authored
Don't assume APInt::getRawData() would hold target-aware endianness nor host-compliant endianness. rawdata[0] holds most lower i64, even on big endian host. FIXME: Add a testcase for big endian target. FIXME: Ditto on CompileUnit::addConstantFPValue() ? llvm-svn: 143194
-
Nick Lewycky authored
tools that read the debug info in the .o files by making the DIE sizes more consistent. llvm-svn: 143186
-
- Oct 27, 2011
-
-
Nick Lewycky authored
llvm-svn: 143097
-
Nick Lewycky authored
change. llvm-svn: 143074
-
- Oct 25, 2011
-
-
Nick Lewycky authored
llvm-svn: 142912
-
Eric Christopher authored
llvm-svn: 142892
-
- Oct 19, 2011
-
-
Nick Lewycky authored
llvm-svn: 142436
-
Nick Lewycky authored
llvm-svn: 142435
-
- Oct 18, 2011
-
-
Nick Lewycky authored
llvm-svn: 142307
-
Nick Lewycky authored
.file filenumber "directory" "filename" This removes one join+split of the directory+filename in MC internals. Because bitcode files have independent fields for directory and filenames in debug info, this patch may change the .o files written by existing .bc files. llvm-svn: 142300
-
- Oct 16, 2011
-
-
Benjamin Kramer authored
llvm-svn: 142139
-
- Oct 12, 2011
-
-
Eric Christopher authored
file. Since it should only be used when necessary propagate it through the backend code generation and tweak testcases accordingly. This helps with code like in clang's test/CodeGen/debug-info-line.c where we have multiple #line directives within a single lexical block and want to generate only a single block that contains each file change. Part of rdar://10246360 llvm-svn: 141729
-
- Oct 05, 2011
-
-
Owen Anderson authored
Teach the MC to output code/data region marker labels in MachO and ELF modes. These are used by disassemblers to provide better disassembly, particularly on targets like ARM Thumb that like to intermingle data in the TEXT segment. llvm-svn: 141135
-
- Oct 03, 2011
-
-
Eric Christopher authored
llvm-svn: 141005
-
Eric Christopher authored
llvm-svn: 141004
-
- Sep 29, 2011
-
-
Duncan Sands authored
llvm-svn: 140784
-
- Sep 28, 2011
-
-
Duncan Sands authored
when there is both a catch and a cleanup. Correct the comment. llvm-svn: 140686
-
- Sep 26, 2011
-
-
James Molloy authored
Fix emission of debug data for global variables. getContext() on DIGlobalVariables is not valid any more. llvm-svn: 140539
-
- Sep 22, 2011
-
-
Devang Patel authored
Few weeks ago, llvm completely inverted the debug info graph. Earlier each debug info node used to keep track of its compile unit, now compile unit keeps track of important nodes. One impact of this change is that the global variable's do not have any context, which should be checked before deciding to use AT_specification DIE. llvm-svn: 140282
-
- Sep 21, 2011
-
-
Jim Grosbach authored
llvm-svn: 140275
-
- Sep 15, 2011
-
-
Devang Patel authored
llvm-svn: 139751
-
- Sep 02, 2011
-
-
Duncan Sands authored
llvm-svn: 139015
-
Benjamin Kramer authored
- On COFF the .lcomm directive has an alignment argument. - On ELF we fall back to .local + .comm Based on a patch by NAKAMURA Takumi. Fixes PR9337, PR9483 and PR10128. llvm-svn: 138976
-
- Aug 31, 2011
-
-
David Greene authored
Stores sizes as uint64_t to avoid possible truncation. llvm-svn: 138901
-
David Greene authored
Emit a repeated sequence of bytes using .zero. This saves an enormous amount of asm file space for certain programs. llvm-svn: 138864
-