summaryrefslogtreecommitdiff
path: root/tools/llvm-mc/llvm-mc.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-02-10 01:41:14 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-02-10 01:41:14 +0000
commit5532cf44a012149ce3afce43dbd0651b4d87a505 (patch)
treec328cdb7471dc2ccd99ed4c0827afd02296874db /tools/llvm-mc/llvm-mc.cpp
parent1d0aeabe3fce2ce6610e988b36582b47a7684f74 (diff)
downloadllvm-5532cf44a012149ce3afce43dbd0651b4d87a505.tar.gz
llvm-5532cf44a012149ce3afce43dbd0651b4d87a505.tar.bz2
llvm-5532cf44a012149ce3afce43dbd0651b4d87a505.tar.xz
llvm-mc: Remove --show-fixups and always show as part of --show-encoding.
Also, fix a silly memory leak. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95752 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-mc/llvm-mc.cpp')
-rw-r--r--tools/llvm-mc/llvm-mc.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/llvm-mc/llvm-mc.cpp b/tools/llvm-mc/llvm-mc.cpp
index 250d4dc22f..c05bd522c5 100644
--- a/tools/llvm-mc/llvm-mc.cpp
+++ b/tools/llvm-mc/llvm-mc.cpp
@@ -47,9 +47,6 @@ static cl::opt<bool>
ShowEncoding("show-encoding", cl::desc("Show instruction encodings"));
static cl::opt<bool>
-ShowFixups("show-fixups", cl::desc("Show fixups inside encodings"));
-
-static cl::opt<bool>
ShowInst("show-inst", cl::desc("Show internal instruction representation"));
static cl::opt<unsigned>
@@ -273,7 +270,7 @@ static int AssembleInput(const char *ProgName) {
Str.reset(createAsmStreamer(Ctx, *Out, *MAI,
TM->getTargetData()->isLittleEndian(),
/*asmverbose*/true, IP.get(), CE.get(),
- ShowInst, ShowFixups));
+ ShowInst));
} else {
assert(FileType == OFT_ObjectFile && "Invalid file type!");
CE.reset(TheTarget->createCodeEmitter(*TM));