aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llc
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2010-01-15 18:51:18 +0000
committerNate Begeman <natebegeman@mac.com>2010-01-15 18:51:18 +0000
commit3fe980b127a61608bd6d44c0939ba716ca21625c (patch)
treed11914d5c8212cf8e64b38f8d5159f34985ce033 /tools/llc
parent309264d1e4c41923ff04fb6786749185cf3b9de1 (diff)
downloadexternal_llvm-3fe980b127a61608bd6d44c0939ba716ca21625c.zip
external_llvm-3fe980b127a61608bd6d44c0939ba716ca21625c.tar.gz
external_llvm-3fe980b127a61608bd6d44c0939ba716ca21625c.tar.bz2
Hook up llc's -filetype=obj to use MCStreamer if an MCCodeEmitter is available.
Remove most of old Mach-O Writer support, it has been replaced by MCMachOStreamer Further refactoring to completely remove MachOWriter and drive the object file writer with the AsmPrinter MCInst/MCSection logic is forthcoming. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93527 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llc')
-rw-r--r--tools/llc/llc.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 930de26..4f93a43 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -366,9 +366,7 @@ int main(int argc, char **argv) {
sys::Path(OutputFilename).eraseFromDisk();
return 1;
case FileModel::AsmFile:
- break;
case FileModel::MachOFile:
- OCE = AddMachOWriter(Passes, *Out, Target);
break;
case FileModel::ElfFile:
OCE = AddELFWriter(Passes, *Out, Target);