- Feb 04, 2012
-
-
Sean Callanan authored
cache disassemblers according to the string value of the target triple, not according to the enum of the triple CPU. The reason for this is that certain attributes of the instruction set are not reflected in the enum, but only in the string. llvm-svn: 149773
-
- Feb 03, 2012
-
-
Akira Hatanaka authored
needed to emit a 64-bit gp-relative relocation entry. Make changes necessary for emitting jump tables which have entries with directive .gpdword. This patch does not implement the parts needed for direct object emission or JIT. llvm-svn: 149668
-
- Feb 01, 2012
-
-
Kevin Enderby authored
symbol from an assignment. In this case the symbol did not have a fragment so MCObjectWriter::IsSymbolRefDifferenceFullyResolved() should not have been calling IsSymbolRefDifferenceFullyResolvedImpl() with a NULL fragment and should just have returned false in that case. llvm-svn: 149442
-
- Jan 31, 2012
-
-
Devang Patel authored
Add assembler dialect attribute in asm parser which lets target specific asm parser change dialect on the fly. llvm-svn: 149396
-
- Jan 28, 2012
-
-
Benjamin Kramer authored
llvm-svn: 149179
-
Rafael Espindola authored
llvm-svn: 149175
-
Rafael Espindola authored
messages and allows us to fix PR11865. llvm-svn: 149174
-
- Jan 27, 2012
-
-
Jim Grosbach authored
llvm-svn: 149105
-
Jim Grosbach authored
Provide source line number information. llvm-svn: 149101
-
Jim Grosbach authored
llvm-svn: 149096
-
Jim Grosbach authored
Can be used to issue more user friendly diagnostics for faulty relocation constructs and such. llvm-svn: 149092
-
Jim Grosbach authored
llvm-svn: 149090
-
- Jan 26, 2012
-
-
James Molloy authored
Add support for the R_ARM_TARGET1 relocation, which should be given to relocations applied to all C++ constructors and destructors. This enables the linker to match concrete relocation types (absolute or relative) with whatever library or C++ support code is being linked against. llvm-svn: 149057
-
- Jan 25, 2012
-
-
Anton Korobeynikov authored
and let linker handle the rest. This finally fixes PR5329 llvm-svn: 148990
-
- Jan 24, 2012
-
-
Jim Grosbach authored
When not using subsections via symbols, the assembler can resolve symbol differences (including pcrel references) to non-local labels at assembly time, not just those in the same atom. llvm-svn: 148865
-
- Jan 23, 2012
-
-
Rafael Espindola authored
llvm-svn: 148733
-
- Jan 20, 2012
-
-
David Blaikie authored
llvm-svn: 148578
-
Benjamin Kramer authored
Found by the clang static analyzer. llvm-svn: 148543
-
Benjamin Kramer authored
Found by the clang static analyzer. llvm-svn: 148541
-
- Jan 19, 2012
-
-
Owen Anderson authored
llvm-svn: 148493
-
- Jan 18, 2012
-
-
Jim Grosbach authored
If the two fragments are in the same Atom, then the difference expression is resolvable at compile time. Previously we were checking that they were in the same fragment, but that breaks down in the presence of instruction relaxation which has multiple fragments in the same atom. rdar://10711829 llvm-svn: 148423
-
Jim Grosbach authored
llvm-svn: 148400
-
Jim Grosbach authored
llvm-svn: 148364
-
- Jan 17, 2012
-
-
Jim Grosbach authored
When the non-local symbol in the expression is in the same fragment as the second symbol, the assembler can still evaluate the expression without needing a relocation. For example, on ARM: _foo: ldr lr, (_foo - 4) rdar://10348687 llvm-svn: 148341
-
- Jan 11, 2012
-
-
Kevin Enderby authored
directives was in the wrong place and getting triggered incorectly with a cpp .file directive. This change fixes that and adds a test case. llvm-svn: 147951
-
- Jan 10, 2012
-
-
Devang Patel authored
llvm-svn: 147880
-
Kevin Enderby authored
functional change in r147860 to use DW_TAG_label's instead TAG_subprogram's. This only changes names and updates comments. No functional change. llvm-svn: 147877
-
Benjamin Kramer authored
llvm-svn: 147874
-
Chandler Carruth authored
of several newly un-defaulted switches. This also helps optimizers (including LLVM's) recognize that every case is covered, and we should assume as much. llvm-svn: 147861
-
Kevin Enderby authored
assembly source when it generates the TAG_subprogram dwarf debug info for the labels that have nothing between them as in this bit of assembly source: % cat ZeroLength.s _func1: _func2: nop One solution would be to not emit the subsequent labels with the same address and use the next label with a different address or the end of the section for the AT_high_pc value of the TAG_subprogram. Turns out in llvm-mc it is not possible in all cases to determine of two symbols have the same value at the point we put out the TAG_subprogram dwarf debug info. So we will have llvm-mc instead of putting out TAG_subprogram's put out DW_TAG_label's. And the DW_TAG_label does not have a AT_high_pc value which avoids the problem. This commit is only the functional change to make the diffs clear as to what is really being changed. The next commit will be to clean up the names of such things like MCGenDwarfSubprogramEntry to something like MCGenDwarfLabelEntry. rdar://10666925 llvm-svn: 147860
-
David Blaikie authored
llvm-svn: 147855
-
Rafael Espindola authored
llvm-svn: 147820
-
- Jan 09, 2012
-
-
Rafael Espindola authored
llvm-svn: 147763
-
- Jan 08, 2012
-
-
Rafael Espindola authored
llvm-svn: 147745
-
- Jan 07, 2012
-
-
Rafael Espindola authored
the produce assembly when using CFI just a bit more readable. llvm-svn: 147743
-
Rafael Espindola authored
file error checking. Use that to error on an unfinished cfi_startproc. The error is not nice, but is already better than a segmentation fault. llvm-svn: 147717
-
- Dec 29, 2011
-
-
Rafael Espindola authored
llvm-svn: 147356
-
Rafael Espindola authored
llvm-svn: 147354
-
Rafael Espindola authored
llvm-svn: 147352
-
- Dec 24, 2011
-
-
Rafael Espindola authored
x86 specific reloc_coff_secrel32 with a generic FK_SecRel_4. llvm-svn: 147252
-