| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 143891
|
|
|
|
| |
llvm-svn: 143811
|
|
|
|
|
|
|
|
| |
encoding from the DWARF asm printer.
As a side effect we now print dwarf ulebs with .ascii directives.
llvm-svn: 143809
|
|
|
|
| |
llvm-svn: 143738
|
|
|
|
| |
llvm-svn: 143634
|
|
|
|
|
|
| |
Thanks to Nick for spotting this!
llvm-svn: 143556
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
it is separating the directory part from the basename of the FileName. Noticed
that this:
.file 1 "dir/foo"
when assembled got the two parts switched. Using the Mac OS X dwarfdump tool
it can be seen easily:
% dwarfdump -a a.out
include_directories[ 1] = 'foo'
Dir Mod Time File Len File Name
---- ---------- ---------- ---------------------------
file_names[ 1] 1 0x00000000 0x00000000 dir
...
Which should be:
...
include_directories[ 1] = 'dir'
Dir Mod Time File Len File Name
---- ---------- ---------- ---------------------------
file_names[ 1] 1 0x00000000 0x00000000 foo
llvm-svn: 143521
|
|
|
|
|
|
|
|
|
|
|
|
| |
-g flag. In this part we generate the .file for the source being assembled and
the .loc's for the assembled instructions.
The next part will be to generate the dwarf Compile Unit DIE and a dwarf
subprogram DIE for each non-temporary label.
Once the next part is done test cases will be added. rdar://9275556
llvm-svn: 143509
|
|
|
|
| |
llvm-svn: 143097
|
|
|
|
| |
llvm-svn: 143071
|
|
|
|
|
|
| |
composed of one byte characters.
llvm-svn: 143044
|
|
|
|
|
|
|
|
| |
This first patch is for expression variable kinds.
Patch by Jack Carter!
llvm-svn: 142934
|
|
|
|
| |
llvm-svn: 142537
|
|
|
|
|
|
|
|
|
|
| |
.file filenumber "directory" "filename"
This removes one join+split of the directory+filename in MC internals. Because
bitcode files have independent fields for directory and filenames in debug info,
this patch may change the .o files written by existing .bc files.
llvm-svn: 142300
|
|
|
|
|
|
| |
While at it, merge some format strings.
llvm-svn: 142140
|
|
|
|
|
|
|
|
| |
<stdin>:1:12: error: register %rax is only available in 64-bit mode
incl %rax
^~~~
llvm-svn: 142137
|
|
|
|
|
|
|
|
| |
diagnostics for #line directives.
This reenables proper inline asm diagnostics in clang
llvm-svn: 142132
|
|
|
|
| |
llvm-svn: 142108
|
|
|
|
|
|
|
|
| |
note/warning/error as a
string, pass it around as an enum.
llvm-svn: 142107
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
does. Enhance
the X86 asmparser to produce ranges in the one case that was annoying me, for example:
test.s:10:15: error: invalid operand for instruction
movl 0(%rax), 0(%edx)
^~~~~~~
It should be straight-forward to enhance filecheck, tblgen, and/or the .ll parser to use
ranges where appropriate if someone is interested.
llvm-svn: 142106
|
|
|
|
|
|
| |
symbols are used for ARM/Thumb mode code. This should only be re-enabled once we have a solution to properly distinguish these.
llvm-svn: 141984
|
|
|
|
|
|
|
|
| |
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
|