| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
CPU, and feature string. Parsing some asm directives can change
subtarget state (e.g. .code 16) and it must be reflected in other
modules (e.g. MCCodeEmitter). That is, the MCSubtargetInfo instance
must be shared.
llvm-svn: 134795
|
| |
|
|
| |
llvm-svn: 134703
|
| |
|
|
| |
llvm-svn: 134702
|
| |
|
|
|
|
|
|
|
|
| |
- Each target asm parser now creates its own MCSubtatgetInfo (if needed).
- Changed AssemblerPredicate to take subtarget features which tablegen uses
to generate asm matcher subtarget feature queries. e.g.
"ModeThumb,FeatureThumb2" is translated to
"(Bits & ModeThumb) != 0 && (Bits & FeatureThumb2) != 0".
llvm-svn: 134678
|
| |
|
|
| |
llvm-svn: 134643
|
| |
|
|
| |
llvm-svn: 134572
|
| |
|
|
| |
llvm-svn: 134561
|
| |
|
|
| |
llvm-svn: 133821
|
| |
|
|
|
|
| |
is larger than the sum of the elements (including per-element padding).
llvm-svn: 133631
|
| |
|
|
| |
llvm-svn: 133561
|
| |
|
|
|
|
| |
explanation of what the EH table describes.
llvm-svn: 133559
|
| |
|
|
|
|
| |
const Constant *.
llvm-svn: 133400
|
| |
|
|
| |
llvm-svn: 133083
|
| |
|
|
| |
llvm-svn: 133007
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Dan noted that this would work on the case shown on the commit message. I think
the case that was failing was a bb ending with a redundant conditional jump:
...
jne foo
foo:
...
I was unable to find any such case in the tests or in a debug build of clang,
so I will revert this part of the patch and watch the bots.
llvm-svn: 133004
|
| |
|
|
|
|
| |
AnalyzeBranch.
llvm-svn: 132981
|
| |
|
|
|
|
| |
Add a triple to the tests.
llvm-svn: 132885
|
| |
|
|
| |
llvm-svn: 132883
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we try to branch to them.
Before we were creating successor lists with duplicated entries. Fixing that
found a bug in isBlockOnlyReachableByFallthrough that would causes it to
return the wrong answer for
-----------
...
jne foo
jmp bar
foo:
----------
llvm-svn: 132882
|
| |
|
|
|
|
|
|
| |
and definitions when emitting global variables. This was causing global
declarations to be emitted as if they were definitions.
Fixes <rdar://problem/9429892>.
llvm-svn: 132825
|
| |
|
|
| |
llvm-svn: 132668
|
| |
|
|
| |
llvm-svn: 132433
|
| |
|
|
|
|
| |
.debug_loc entries.
llvm-svn: 132427
|
| |
|
|
|
|
| |
eagerly.
llvm-svn: 132377
|
| |
|
|
| |
llvm-svn: 132373
|
| |
|
|
|
|
| |
debug_pubtypes list.
llvm-svn: 132371
|
| |
|
|
|
|
|
| |
handler's data area starts with a 4-byte reference to the personality
function, followed by the DWARF LSDA.
llvm-svn: 132302
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
handler.
At this moment, only GCC-style exceptions are supported. Other kinds
of exceptions, including "traditional" SEH and Microsoft Visual C++ exceptions,
need more work--and an compiler exception model that isn't specific to
GCC-style exceptions!
In particular, I imagine that it would be possible to mix "traditional" SEH
with GCC-style EH or Microsoft C++ EH. Currently LLVM has no way (beyond some
target-specific defaults and whole-module compiler switches) of knowing which
scheme to use when.
llvm-svn: 132283
|
| |
|
|
| |
llvm-svn: 132250
|
| |
|
|
| |
llvm-svn: 132239
|
| |
|
|
|
|
|
|
| |
There was no way to check if a given register/mode pair was valid. We now return
an error code (-2) instead of asserting. If anyone thinks that an assert
at this point is really needed, we can autogen a hasValidDwarfRegNum instead.
llvm-svn: 132236
|
| |
|
|
|
|
|
| |
the Win64 EH mechanism to implement GCC-style exceptions. LLVM supports
hardly anything else at this point!
llvm-svn: 132234
|
| |
|
|
|
|
|
|
|
|
| |
subregisters:
When a value is in a subregister, at least report the location as being
the superregister. We should extend the .td files to encode the bit
range so that we can produce a DW_OP_bit_piece.
llvm-svn: 132224
|
| |
|
|
| |
llvm-svn: 132222
|
| |
|
|
|
|
| |
size, select appropraite form.
llvm-svn: 132206
|
| |
|
|
|
|
| |
This fixes regressions reported by buildbots as a fallout of r132193.
llvm-svn: 132197
|
| |
|
|
| |
llvm-svn: 132193
|
| |
|
|
|
|
|
| |
LTO friendly as we can now correctly merge files compiled with or without
-fasynchronous-unwind-tables.
llvm-svn: 132033
|
| |
|
|
| |
llvm-svn: 131940
|
| |
|
|
| |
llvm-svn: 131936
|
| |
|
|
| |
llvm-svn: 131760
|
| |
|
|
| |
llvm-svn: 131757
|
| |
|
|
| |
llvm-svn: 131756
|
| |
|
|
|
|
| |
s/DW_AT_APPLE_objc_class_extension/DW_AT_APPLE_objc_complete_type/g
llvm-svn: 131244
|
| |
|
|
|
|
| |
an attribute DW_AT_APPLE_objc_class_extension.
llvm-svn: 131238
|
| |
|
|
|
|
| |
DW_LNS_set_prologue_end line table opcode.
llvm-svn: 131194
|
| |
|
|
| |
llvm-svn: 131157
|
| |
|
|
| |
llvm-svn: 131151
|
| |
|
|
|
|
| |
DwarfRequiresRelocationForSectionOffset as this is not specific to StmtList.
llvm-svn: 131148
|
| |
|
|
|
|
|
|
|
| |
this clang will use .debug_frame in, for example,
clang -g -c -m32 test.c
This matches gcc's behaviour. It looks like .debug_frame is a bit bigger
than .eh_frame, but has the big advantage of not being allocated.
llvm-svn: 131140
|