| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
zero-filled global. rdar://11729134
llvm-svn: 159023
|
| |
|
|
|
|
| |
knows dwarf or not.
llvm-svn: 158993
|
| |
|
|
|
|
| |
DwarfUsesRelocationsAcrossSections.
llvm-svn: 158992
|
| |
|
|
|
|
| |
a recommit of r127757. Fixes PR9493. Patch by Paul Robinson!
llvm-svn: 158957
|
| |
|
|
| |
llvm-svn: 158604
|
| |
|
|
|
|
|
| |
Patch extracted from a larger one by the PaX team. I added the testcases
and tightened error handling a bit.
llvm-svn: 158523
|
| |
|
|
|
|
| |
LLVM should be -Wunused-private-field clean now.
llvm-svn: 158103
|
| |
|
|
|
|
|
|
| |
This allows a subtarget to explicitly specify the issue width and
other properties without providing pipeline stage details for every
instruction.
llvm-svn: 157979
|
| |
|
|
| |
llvm-svn: 157935
|
| |
|
|
|
|
|
| |
vector. No functionality change.
Extracted from a patch by the PaX Team.
llvm-svn: 157909
|
| |
|
|
|
|
| |
Part of a patch by the PaX Team.
llvm-svn: 157908
|
| |
|
|
| |
llvm-svn: 157885
|
| |
|
|
| |
llvm-svn: 157726
|
| |
|
|
|
|
|
| |
Store (debugging) register names as offsets into a string table instead
of as char pointers.
llvm-svn: 157449
|
| |
|
|
| |
llvm-svn: 157377
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use a dedicated MachO load command to annotate data-in-code regions.
This is the same format the linker produces for final executable images,
allowing consistency of representation and use of introspection tools
for both object and executable files.
Data-in-code regions are annotated via ".data_region"/".end_data_region"
directive pairs, with an optional region type.
data_region_directive := ".data_region" { region_type }
region_type := "jt8" | "jt16" | "jt32" | "jta32"
end_data_region_directive := ".end_data_region"
The previous handling of ARM-style "$d.*" labels was broken and has
been removed. Specifically, it didn't handle ARM vs. Thumb mode when
marking the end of the section.
rdar://11459456
llvm-svn: 157062
|
| |
|
|
| |
llvm-svn: 156716
|
| |
|
|
|
|
| |
for nesting.
llvm-svn: 156714
|
| |
|
|
| |
llvm-svn: 156712
|
| |
|
|
|
|
| |
Based on a patch by Team PaX.
llvm-svn: 156709
|
| |
|
|
|
|
|
|
| |
unsupported.
Patch by Team PaX!
llvm-svn: 156708
|
| |
|
|
| |
llvm-svn: 156707
|
| |
|
|
|
|
| |
Based on a patch from PaX Team.
llvm-svn: 156706
|
| |
|
|
|
|
| |
Based on a patch from PaX Team.
llvm-svn: 156705
|
| |
|
|
| |
llvm-svn: 156602
|
| |
|
|
| |
llvm-svn: 156241
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, an unsupported/unknown assembler directive issued a warning.
That's generally unsafe, and inconsistent with the behaviour of pretty
much every system assembler. Now that the MC assemblers are mature
enough to be the default on multiple targets, it's reasonable to
issue errors for these.
For target or platform directives that need to stay warnings, we
should add explicit handlers for them in, e.g., ELFAsmParser.cpp,
DarwinAsmParser.cpp, et. al., and issue the warning there.
rdar://9246275
llvm-svn: 155926
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The caller is already responsible for eating any additional input on the
line. Putting an additional EatToEndOfStatement() in ParseStatement()
causes an entire extra statement to be consumed when treating warnings
as errors. For example, test/MC/macros.s will assert() because the
.endmacro directive is missed as a result.
rdar://11355843
llvm-svn: 155925
|
| |
|
|
|
|
|
|
|
| |
A trailing comma means no argument at all (i.e., as if the comma were not
present), not an empty argument to the invokee.
rdar://11252521
llvm-svn: 154863
|
| |
|
|
|
|
| |
FoldingSetNodeID.
llvm-svn: 154495
|
| |
|
|
|
|
| |
Patch by Dmitri Shubin!
llvm-svn: 154391
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
by default.
This is a behaviour configurable in the MCAsmInfo. I've decided to turn
it on by default in (possibly optimistic) hopes that most assemblers are
reasonably sane. If this proves a problem, switching to default seems
reasonable.
I'm not sure if this is the opportune place to test, but it seemed good
to make sure it was tested somewhere.
llvm-svn: 154235
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
disassembler requires a MCSubtargetInfo and a
MCInstrInfo to exist in order to initialize the
instruction printer and disassembler; however,
although the printer and disassembler keep
references to these objects they do not own them.
Previously, the MCSubtargetInfo and MCInstrInfo
objects were just leaked.
I have extended LLVMDisasmContext to own these
objects and delete them when it is destroyed.
llvm-svn: 154192
|
| |
|
|
|
|
|
|
| |
MCInstPrinter.
All implementations used the same code.
llvm-svn: 153866
|
| |
|
|
|
|
| |
getInstructionName and the static data it contains since the same tables are already in MCInstrInfo.
llvm-svn: 153860
|
| |
|
|
| |
llvm-svn: 153502
|
| |
|
|
| |
llvm-svn: 153429
|
| |
|
|
|
|
| |
entries in the relocation table before they are written out to the file.
llvm-svn: 153345
|
| |
|
|
|
|
| |
rdar://11027851
llvm-svn: 153137
|
| |
|
|
| |
llvm-svn: 153136
|
| |
|
|
|
|
|
|
| |
evaluated to '1' when the argument list was empty (should be '0').
rdar://11057257
llvm-svn: 152967
|
| |
|
|
|
|
|
|
|
| |
This needs a test, but it will take some time to figure
out the best way to get an input that will produce > 2^16 relocs.
Patch by Graydon Hoare!
llvm-svn: 152787
|
| |
|
|
|
|
|
| |
Used to allow context sensitive printing of super-register or sub-register
references.
llvm-svn: 152043
|
| |
|
|
| |
llvm-svn: 151979
|
| |
|
|
| |
llvm-svn: 151687
|
| |
|
|
|
|
|
|
|
|
| |
debug info for assembly files. We were already doing the right thing when
producing debug info for C/C++.
ELF linkers don't know dwarf, so they depend on these relocations to produce
valid dwarf output.
llvm-svn: 151655
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
We on the linker to resolve calls to the appropriate BL/BLX instruction
to make interworking function correctly. It uses the symbol in the
relocation to do that, so we need to be careful about being too clever.
To enable this for ARM mode, split the BL/BLX fixup kind off from the
unconditional-branch fixups.
rdar://10927209
llvm-svn: 151571
|
| |
|
|
| |
llvm-svn: 151418
|
| |
|
|
|
|
|
|
|
| |
Add support for a missed case when the symbols in a difference
expression are in the same section but not the same fragment.
rdar://10924681
llvm-svn: 151345
|
| |
|
|
| |
llvm-svn: 151289
|