diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-03 01:13:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-03 01:13:25 +0000 |
commit | c760be99db45492f06a0daf3d6942b0c55817aee (patch) | |
tree | 5ff3e3dce195f7bc4b3bdef524a2ef27f298b3c4 /tools/llvm-mc/Disassembler.cpp | |
parent | d1ff72b8a797304f146e4293db8c814231ea8cb3 (diff) |
Finally eliminate printMCInst and send instructions through
the streamer. Demo:
$ cat t.ll
define i32 @test() nounwind {
ret i32 42
}
$ llc t.ll -o -
...
_test:
movl $42, %eax
ret
$ llc t.ll -o t.o -filetype=obj
$ otool -tv t.o
t.o:
(__TEXT,__text) section
_test:
00000000 movl $0x0000002a,%eax
00000005 ret
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95179 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-mc/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions