From e89f022ba727366c40c6051ba4d741c1fc90494c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 29 Jan 2005 17:27:26 +0000 Subject: [PATCH] This has been deprecated for long enough, nuke it. llvm-svn: 19919 --- llvm/tools/llvm-dis/llvm-dis.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/llvm/tools/llvm-dis/llvm-dis.cpp b/llvm/tools/llvm-dis/llvm-dis.cpp index 8fa16c8f78e7..0ae95c8bab3c 100644 --- a/llvm/tools/llvm-dis/llvm-dis.cpp +++ b/llvm/tools/llvm-dis/llvm-dis.cpp @@ -37,9 +37,6 @@ OutputFilename("o", cl::desc("Override output filename"), static cl::opt Force("f", cl::desc("Overwrite output files")); -static cl::opt -CWriteMode("c", cl::desc("Obsolete option, do not use"), cl::ReallyHidden); - int main(int argc, char **argv) { try { cl::ParseCommandLineOptions(argc, argv, " llvm .bc -> .ll disassembler\n"); @@ -48,12 +45,6 @@ int main(int argc, char **argv) { std::ostream *Out = &std::cout; // Default to printing to stdout... std::string ErrorMessage; - if (CWriteMode) { - std::cerr << "ERROR: llvm-dis no longer contains the C backend. " - << "Use 'llc -march=c' instead!\n"; - exit(1); - } - std::auto_ptr M(ParseBytecodeFile(InputFilename, &ErrorMessage)); if (M.get() == 0) { std::cerr << argv[0] << ": ";