| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 103756
|
|
|
|
|
|
|
|
| |
ParseDirectiveDarwinZerofill instead of hard coding the
check for identifier. This allows quoted symbol names to
be used.
llvm-svn: 103682
|
|
|
|
|
|
|
|
|
|
|
|
| |
at the token level. Consider the following horrible test case:
a = 1
.globl $a
movl ($a), %eax
movl $a, %eax
movl $$a, %eax
llvm-svn: 103178
|
|
|
|
|
|
| |
allow $ at the start of a symbol name.
llvm-svn: 103137
|
|
|
|
| |
llvm-svn: 103111
|
|
|
|
| |
llvm-svn: 103095
|
|
|
|
|
|
|
|
| |
match failure.
Also, fixes a few memory leak FIXMEs.
llvm-svn: 102986
|
|
|
|
| |
llvm-svn: 101659
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
current PC. rdar://7834775
We now produce an identical .o file compared to the cctools
assembler for something like this:
_f0:
L0:
jmp L1
.long . - L0
L1:
jmp A
.long . - L1
.zerofill __DATA,_bss,A,0
llvm-svn: 101227
|
|
|
|
|
|
|
| |
the compiler and asmparser now unique to the same sections. This fixes
rdar://7835021.
llvm-svn: 100807
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the stream. New demo:
$ clang asm.c -S -o - -emit-llvm | llc -filetype=obj -o t.o
$ otool -tv t.o
t.o:
(__TEXT,__text) section
_foo:
0000000000000000 subq $0x08,%rsp
0000000000000004 movl %edi,(%rsp)
0000000000000007 movl %edi,%eax
0000000000000009 incl %eax
000000000000000b movl %eax,(%rsp)
000000000000000e movl %eax,0x04(%rsp)
0000000000000012 addq $0x08,%rsp
0000000000000016 ret
llvm-svn: 100492
|
|
|
|
|
|
|
|
|
| |
create symbols. It is extremely error prone and a source of a lot
of the remaining integrated assembler bugs on x86-64.
This fixes rdar://7807601.
llvm-svn: 99902
|
|
|
|
|
|
|
| |
- Although it would be nice to allow this decoupling, the assembler needs to be able to reason about MCSymbolRefExprs in too many places to make this viable. We can use a target specific encoding of the variant if this becomes an issue.
- This patch also extends llvm-mc to support parsing of the modifiers, as opposed to lumping them in with the symbol.
llvm-svn: 98592
|
|
|
|
| |
llvm-svn: 98442
|
|
|
|
|
|
| |
compiler may not lead with the text section.
llvm-svn: 98418
|
|
|
|
| |
llvm-svn: 98167
|
|
|
|
|
|
|
| |
Add a new GetOrCreateTemporarySymbol method and a version that
takes a twine.
llvm-svn: 98118
|
|
|
|
|
|
| |
stuff to emit optimal nops in the right places.
llvm-svn: 97233
|
|
|
|
|
|
|
|
| |
section with TextAlignFillValue and calls EmitCodeAlignment() instead of
calling EmitValueToAlignment(). This allows x86 assembly code to be aligned
with optimal nops.
llvm-svn: 97158
|
|
|
|
|
|
| |
avoid fixups for obvious cases like '-(16)'.
llvm-svn: 96064
|
|
|
|
| |
llvm-svn: 94438
|
|
|
|
| |
llvm-svn: 94378
|
|
|
|
|
|
|
|
| |
movw $8, (_cost_table_-L97$pb)+66(%eax)
After the parens, we could still have a binop.
llvm-svn: 94345
|
|
|
|
|
|
| |
into a new MCDirectives.h file.
llvm-svn: 94294
|
|
|
|
| |
llvm-svn: 94167
|
|
|
|
|
|
|
|
|
|
|
| |
missing ones are libsupport, libsystem and libvmcore. libvmcore is
currently blocked on bugpoint, which uses EH. Once it stops using
EH, we can switch it off.
This #if 0's out 3 unit tests, because gtest requires RTTI information.
Suggestions welcome on how to fix this.
llvm-svn: 94164
|
|
|
|
|
|
| |
other tools can link it.
llvm-svn: 94131
|
|
|
|
| |
llvm-svn: 94130
|
|
llvm-svn: 94129
|