- Oct 29, 2013
-
-
Manman Ren authored
This commit ensures DIEs are constructed within a compile unit and immediately added to their parents. Reviewed off-list by Eric. llvm-svn: 193568
-
Manman Ren authored
More patches will be submitted to convert "new DIE(" to use createAddAndDIE in DwarfCompileUnit.cpp. This will simplify implementation of addDIEEntry where we have to decide between ref4 and ref_addr, because DIEs that can be shared across CU will be added to a CU already. Reviewed off-list by Eric. llvm-svn: 193567
-
Manman Ren authored
It wraps around "new DIE(" and handles the bookkeeping part of the newly-created DIE. It adds the DIE to its parent, and calls insertDIE if necessary. It makes sure that bookkeeping is done at the earliest time and we should not see parentless DIEs if all constructions of DIEs go through this helper function. Later on, we can use an allocator for DIE allocation, and will only need to change createAndAddDIE instead of modifying all the "new DIE(". Reviewed off-list by Eric. llvm-svn: 193566
-
Rui Ueyama authored
__ImageBase is an absolute symbol whose address is the same as the image base address. What we did before this patch was to create __ImageBase symbol as a symbol whose *contents* (not location) is the image base address, which is clearly wrong. llvm-svn: 193565
-
rdar://problem/15144376Enrico Granata authored
This commit reimplements the TypeImpl class (the class that backs SBType) in terms of a static,dynamic type pair This is useful for those cases when the dynamic type of an ObjC variable can only be obtained in terms of an "hollow" type with no ivars In that case, we could either go with the static type (+iVar information) or with the dynamic type (+inheritance chain) With the new TypeImpl implementation, we try to combine these two sources of information in order to extract as much information as possible This should improve the functionality of tools that are using the SBType API to do extensive dynamic type inspection llvm-svn: 193564
-
Alexey Samsonov authored
Complicated CU-DIE-specific logic in the latter was never used, and it makes sense to have safety checks for broken dwarf in the former. llvm-svn: 193563
-
Andrew Kaylor authored
llvm-svn: 193562
-
Alp Toker authored
llvm-svn: 193561
-
Alexey Samsonov authored
DWARF parser: Use ArrayRef to represent form sizes and simplify DWARFDIE::extractFast() interface. No functionality change. llvm-svn: 193560
-
Alp Toker authored
llvm-mcmarkup, obj2yaml and yaml2obj were missing from the substitutions list, causing the test suite to fail in a sandboxed environment. llvm-svn: 193559
-
Alp Toker authored
llvm-svn: 193558
-
Rui Ueyama authored
llvm-svn: 193557
-
Rui Ueyama authored
This change has no effect now, but will be needed to emit BSS atoms to .bss section. llvm-svn: 193556
-
Alexey Samsonov authored
llvm-svn: 193555
-
Rafael Espindola authored
This reverts commit r193528 (and fixes). It broke Chandler's setup. llvm-svn: 193554
-
Alexey Samsonov authored
Summary: Use DWARF4 table of form classes to fetch attributes from DIE in a more consistent way. This shouldn't change the functionality and serves as a refactoring for upcoming change: DW_AT_high_pc has different semantics depending on its form class. Reviewers: dblaikie, echristo Reviewed By: echristo CC: echristo, llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1961 llvm-svn: 193553
-
- Oct 28, 2013
-
-
Alp Toker authored
llvm-svn: 193552
-
Nick Kledzik authored
llvm-svn: 193551
-
Rui Ueyama authored
llvm-svn: 193550
-
Richard Smith authored
requires ! feature The purpose of this is to allow (for instance) the module map for /usr/include to exclude <tgmath.h> and <complex.h> when building in C++ (these headers are instead provided by the C++ standard library in this case, and the glibc C <tgmath.h> header would otherwise try to include <complex.h>, resulting in a module cycle). llvm-svn: 193549
-
Rafael Espindola authored
llvm-svn: 193548
-
Rafael Espindola authored
llvm-svn: 193547
-
Rafael Espindola authored
llvm-svn: 193546
-
Richard Smith authored
statement (after a case label, if, etc). Patch by Olivier Goffart! llvm-svn: 193545
-
Andrew Kaylor authored
llvm-svn: 193544
-
Bill Wendling authored
llvm-svn: 193543
-
Bill Wendling authored
llvm-svn: 193542
-
Bill Wendling authored
llvm-svn: 193541
-
Akira Hatanaka authored
No functionality change. llvm-svn: 193540
-
Rafael Espindola authored
llvm-svn: 193539
-
Rafael Espindola authored
llvm-svn: 193538
-
Rafael Espindola authored
llvm-svn: 193537
-
Rafael Espindola authored
llvm-svn: 193536
-
Lang Hames authored
an MCExpr, in order to avoid writing an encoded zero value in the immediate field. When getUnconditionalBranchTargetOpValue is called with an MCExpr target, we don't know what the final immediate field value should be. We shouldn't explicitly set the immediate field to an encoded zero value as zero is encoded with a non-zero bit pattern. This leads to bits being set that pollute the final immediate value. The nature of the encoding is such that the polluted bits only affect very large immediate values, explaining why this hasn't caused problems earlier. Fixes <rdar://problem/15155975>. llvm-svn: 193535
-
Rafael Espindola authored
llvm-svn: 193534
-
Rafael Espindola authored
llvm-svn: 193533
-
Rafael Espindola authored
llvm-svn: 193532
-
Jim Ingham authored
<rdar://problem/15208799> llvm-svn: 193530
-
Evgeniy Stepanov authored
llvm-svn: 193529
-
Rafael Espindola authored
With this patch we correctly determine that ubuntu's ARM tree is not biarch and use "lib" istead of "lib32". Without this patch the search inside the arm tree for the crt files was failing and we would end up trying to use the i686 ones in lib32. llvm-svn: 193528
-