- Dec 04, 2011
-
-
Anton Korobeynikov authored
Maybe some targets should use this as well. Patch by Evgeniy Stepanov! llvm-svn: 145781
-
- Dec 02, 2011
-
-
Nick Lewycky authored
change, now you need a TargetOptions object to create a TargetMachine. Clang patch to follow. One small functionality change in PTX. PTX had commented out the machine verifier parts in their copy of printAndVerify. That now calls the version in LLVMTargetMachine. Users of PTX who need verification disabled should rely on not passing the command-line flag to enable it. llvm-svn: 145714
-
- Nov 29, 2011
-
-
Daniel Dunbar authored
llvm-svn: 145420
-
- Nov 18, 2011
-
-
Devang Patel authored
DISubrange supports unsigned lower/upper array bounds, so let's not fake it in the end while emitting DWARF. If a FE needs to encode signed lower/upper array bounds then we need to extend DISubrange or ad DISignedSubrange. llvm-svn: 144937
-
- Nov 16, 2011
-
-
Eric Christopher authored
failure during bootstrap with it turned on. llvm-svn: 144731
-
- Nov 15, 2011
-
-
Rafael Espindola authored
has a reference to it. Unfortunately, that doesn't work for codegen passes since we don't get notified of MBB's being deleted (the original BB stays). Use that fact to our advantage and after printing a function, check if any of the IL BBs corresponds to a symbol that was not printed. This fixes pr11202. llvm-svn: 144674
-
- Nov 12, 2011
-
-
Rafael Espindola authored
instance and a concrete inlined instance are the use of DW_TAG_subprogram instead of DW_TAG_inlined_subroutine and the who owns the tree. We were also omitting DW_AT_inline from the abstract roots. To fix this, make sure we mark abstract instance roots with DW_AT_inline even when we have only out-of-line instances referring to them with DW_AT_abstract_origin. FileCheck is not a very good tool for tests like this, maybe we should add a -verify mode to llvm-dwarfdump. llvm-svn: 144441
-
- Nov 11, 2011
-
-
Eric Christopher authored
llvm-svn: 144360
-
Eric Christopher authored
addr DIE when adding to the dwarf accelerator tables. llvm-svn: 144354
-
- Nov 10, 2011
-
-
Rafael Espindola authored
it first. This is a more general fix to pr11300. llvm-svn: 144324
-
Eric Christopher authored
as well. llvm-svn: 144319
-
Eric Christopher authored
forward decls and have names into the dwarf accelerator types table. llvm-svn: 144306
-
Eric Christopher authored
multiple dies per function and support C++ basenames. llvm-svn: 144304
-
- Nov 09, 2011
-
-
Benjamin Kramer authored
llvm-svn: 144194
-
Benjamin Kramer authored
llvm-svn: 144184
-
Devang Patel authored
llvm-svn: 144172
-
Eric Christopher authored
llvm-svn: 144169
-
- Nov 08, 2011
-
-
Eric Christopher authored
and is different than the normal name. llvm-svn: 144130
-
Eric Christopher authored
llvm-svn: 144105
-
Eric Christopher authored
llvm-svn: 144099
-
Eric Christopher authored
llvm-svn: 144095
-
- Nov 07, 2011
-
-
Eric Christopher authored
llvm-svn: 144027
-
Eric Christopher authored
llvm-svn: 144024
-
Eric Christopher authored
llvm-svn: 144023
-
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
-