diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-02-10 01:41:14 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-02-10 01:41:14 +0000 |
commit | 75c9a4eeaeed62d6b203206f5a61e2f41208bc3e (patch) | |
tree | cbdd0970e65a35a11ede49f08b6e7c2974910f6c /llvm/tools/llvm-mc/llvm-mc.cpp | |
parent | 0f058c83a7aaa324a21dde7967c7591259114aa5 (diff) | |
download | bcm5719-llvm-75c9a4eeaeed62d6b203206f5a61e2f41208bc3e.tar.gz bcm5719-llvm-75c9a4eeaeed62d6b203206f5a61e2f41208bc3e.zip |
llvm-mc: Remove --show-fixups and always show as part of --show-encoding.
Also, fix a silly memory leak.
llvm-svn: 95752
Diffstat (limited to 'llvm/tools/llvm-mc/llvm-mc.cpp')
-rw-r--r-- | llvm/tools/llvm-mc/llvm-mc.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/tools/llvm-mc/llvm-mc.cpp b/llvm/tools/llvm-mc/llvm-mc.cpp index 250d4dc22fd..c05bd522c52 100644 --- a/llvm/tools/llvm-mc/llvm-mc.cpp +++ b/llvm/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)); |