mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Hook up -filetype=obj through the MachO streamer. Here's a demo:
$ cat t.ll @g = global i32 42 $ llc t.ll -o t.o -filetype=obj $ nm t.o 00000000 D _g There is still a ton of work left. Instructions are not being encoded yet apparently. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95162 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
985d45dea3
commit
ac7798e906
3 files changed
+15
-7
No files matched your search
@@ -360,6 +360,7 @@ int main(int argc, char **argv) {
|
||||
sys::Path(OutputFilename).eraseFromDisk();
|
||||
return 1;
|
||||
case TargetMachine::CGFT_AssemblyFile:
|
||||
case TargetMachine::CGFT_ObjectFile:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user