| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
| |
for cpp pre-processed assembly we give correct filename and line numbers when
reporting errors in assembly files when using clang and -integrated-as on .s
files. rdar://8998895
llvm-svn: 141814
|
| |
|
|
| |
llvm-svn: 141807
|
| |
|
|
|
|
|
| |
.symtab_shndx reading and writing together, and finally we have a testcase for
r141440.
llvm-svn: 141641
|
| |
|
|
| |
llvm-svn: 141557
|
| |
|
|
| |
llvm-svn: 141440
|
| |
|
|
| |
llvm-svn: 141439
|
| |
|
|
|
|
| |
patch by Cary Coutant!
llvm-svn: 141413
|
| |
|
|
| |
llvm-svn: 141412
|
| |
|
|
|
|
| |
modes. These are used by disassemblers to provide better disassembly, particularly on targets like ARM Thumb that like to intermingle data in the TEXT segment.
llvm-svn: 141135
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
using llvm's public 'C' disassembler API now including annotations.
Hooked this up to Darwin's otool(1) so it can again print things like branch
targets for example this:
blx _puts
instead of this:
blx #-36
and includes support for annotations for branches to symbol stubs like:
bl 0x40 @ symbol stub for: _puts
and annotations for pc relative loads like this:
ldr r3, #8 @ literal pool for: Hello, world!
Also again can print the expression encoded in the Mach-O relocation entries for
things like this:
movt r0, :upper16:((_foo-_bar)+1234)
llvm-svn: 141129
|
| |
|
|
|
|
| |
Patch by Reed Kotler at Mips Technologies.
llvm-svn: 140891
|
| |
|
|
| |
llvm-svn: 140465
|
| |
|
|
| |
llvm-svn: 140356
|
| |
|
|
| |
llvm-svn: 140352
|
| |
|
|
| |
llvm-svn: 140347
|
| |
|
|
|
|
|
|
| |
the rich disassembly of a complete object or executable.
These are very much a work in progress, and not really useful yet.
llvm-svn: 140345
|
| |
|
|
|
|
| |
that the disassembler outputs annotations on with the streamer that the InstPrinter will print them on.
llvm-svn: 140217
|
| |
|
|
| |
llvm-svn: 140027
|
| |
|
|
|
|
| |
return, and the printer accept, an annotation string which can be passed through if the client cares about annotations.
llvm-svn: 139876
|
| |
|
|
|
|
| |
should be a parameter to request verbose mode?
llvm-svn: 139821
|
| |
|
|
|
|
| |
MC-based InstPrinters to print them out. Enhance the ARM and X86 InstPrinter's to do so in verbose mode.
llvm-svn: 139820
|
| |
|
|
|
|
|
|
|
| |
Assembler private local symbols aren't legal targets of symbol attributes,
so issue a diagnostic for them.
Based on patch by Stepan Dyatkovskiy.
llvm-svn: 139807
|
| |
|
|
|
|
|
|
|
| |
If we see an EOF w/o a preceding end-of-line, return an EndOfStatement
token before returning the Eof token.
Based on patch by Stepan Dyatkovskiy.
llvm-svn: 139798
|
| |
|
|
| |
llvm-svn: 139697
|
| |
|
|
|
|
|
|
|
| |
#line directives with the needed support in the lexer. Next will be to build
a simple file/line# table mapping source SMLoc's for later use by diagnostics.
And the last step will be to get the diagnostics to use the mapping for file
and line numbers.
llvm-svn: 139669
|
| |
|
|
| |
llvm-svn: 139325
|
| |
|
|
|
|
| |
without a base symbol that must not have a relocation entry.
llvm-svn: 139316
|
| |
|
|
|
|
| |
handling to llvm-mc. Reviewed by Owen Anderson.
llvm-svn: 139237
|
| |
|
|
| |
llvm-svn: 139152
|
| |
|
|
| |
llvm-svn: 139015
|
| |
|
|
|
|
|
|
|
|
|
| |
- On COFF the .lcomm directive has an alignment argument.
- On ELF we fall back to .local + .comm
Based on a patch by NAKAMURA Takumi.
Fixes PR9337, PR9483 and PR10128.
llvm-svn: 138976
|
| |
|
|
|
|
| |
-Werror. Sorry for the inconvenience.
llvm-svn: 138973
|
| |
|
|
|
|
|
| |
Remove broken emacs mode major notation marking a C++ file as C.
No functionality change.
llvm-svn: 138963
|
| |
|
|
| |
llvm-svn: 138948
|
| |
|
|
|
|
|
| |
In the case of EDInstInfo, this would actually cause a bug when -1 became 255
and was then compared >=0 in llvm-mc/Disassembler.cpp.
llvm-svn: 138825
|
| |
|
|
| |
llvm-svn: 138764
|
| |
|
|
|
|
| |
uninitialized value.
llvm-svn: 138752
|
| |
|
|
| |
llvm-svn: 138548
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
.cfi_startproc. e.g. libffi:
$ cat confopt.c
asm (".cfi_startproc\n\t.cfi_endproc");
int main () { return 0; }
Teach MC / dwarf emission to handle these cfi directives which essentially
create an empty frame.
rdar://10017184
llvm-svn: 138504
|
| |
|
|
|
|
| |
These are strictly utilities for registering targets and components.
llvm-svn: 138450
|
| |
|
|
|
|
| |
rdar://9976729
llvm-svn: 138208
|
| |
|
|
|
|
| |
MCParsedAsmOperand objects were being leaked.
llvm-svn: 138053
|
| |
|
|
|
|
| |
The argument is unused, and is a layering violation in any case.
llvm-svn: 137735
|
| |
|
|
|
|
| |
instead. This matches what as does.
llvm-svn: 137414
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Assigned symbol addresses get truncated to 32-bits, even on 64-bit platforms.
That's obviously bogus.
For example,
.globl _foo
.equ _foo, 0x987654321ULL
rdar://9922863
llvm-svn: 137158
|
| |
|
|
| |
llvm-svn: 137060
|
| |
|
|
|
|
|
|
|
| |
of MCInstrDescs functions.
- Add overrides for ARM.
- Teach llvm-objdump to use this instead of plain MCInstrDesc.
llvm-svn: 137059
|
| |
|
|
| |
llvm-svn: 136908
|
| |
|
|
|
|
|
|
| |
This is meant to be overriden by backends. Implement an override on PowerPC
which adjusts the offset by 2 for ha16/lo16 relocation kinds. This removes
a commented out hack and enables hello world to be compiled on PowerPC.
llvm-svn: 136905
|
| |
|
|
| |
llvm-svn: 136868
|