Chris Lattner
|
eef6d78be1
|
teach the x86 asm parser how to handle segment prefixes
in memory operands. rdar://7874844
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101661 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-04-17 18:56:34 +00:00 |
|
Chris Lattner
|
7834facff9
|
refactor .if handling code a bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101659 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-04-17 18:14:27 +00:00 |
|
Chris Lattner
|
f0559e4b24
|
move macho section uniquing from MCParser and TLOF to MCContext where
the compiler and asmparser now unique to the same sections. This fixes
rdar://7835021.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100807 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-04-08 20:30:37 +00:00 |
|
Chris Lattner
|
79180e2ef5
|
Give AsmParser an option to control whether it finalizes
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100492 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-04-05 23:15:42 +00:00 |
|
Daniel Dunbar
|
5e6a7a248b
|
llvm-mc: Support -n, useful for comparing -integrated-as output since the
compiler may not lead with the text section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98418 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-03-13 02:20:57 +00:00 |
|
Daniel Dunbar
|
d80066eea9
|
Remove unneeded declarations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98185 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-03-10 20:58:25 +00:00 |
|
Chris Lattner
|
8a872d0215
|
stop using reserved identifiers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95630 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-02-09 00:40:07 +00:00 |
|
Chris Lattner
|
a5ad93a10a
|
move the various directive enums out of the MCStreamer class
into a new MCDirectives.h file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94294 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-01-23 06:39:22 +00:00 |
|
Chris Lattner
|
be343b3ca3
|
move some files out of the llvm-mc tool into the MCParser library so
other tools can link it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94131 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-01-22 01:58:08 +00:00 |
|