diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-06-17 20:55:01 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-06-17 20:55:01 +0000 |
commit | e266ce6c6eaf52ebe2b18d85b5e23788cf2f6ef4 (patch) | |
tree | c7d879c91ca3f723bd05c17c913adf6375e289ba /lib | |
parent | da26ad501b9125c323f58f756826cf17114a9e6f (diff) | |
download | llvm-e266ce6c6eaf52ebe2b18d85b5e23788cf2f6ef4.tar.gz llvm-e266ce6c6eaf52ebe2b18d85b5e23788cf2f6ef4.tar.bz2 llvm-e266ce6c6eaf52ebe2b18d85b5e23788cf2f6ef4.tar.xz |
Use the verbose asm flag instead of a new flag for decoding the LSDA.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133292 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/LLVMTargetMachine.cpp | 5 | ||||
-rw-r--r-- | lib/MC/MCAsmStreamer.cpp | 4 | ||||
-rw-r--r-- | lib/Target/PTX/PTXMCAsmStreamer.cpp | 3 | ||||
-rw-r--r-- | lib/Target/PTX/PTXTargetMachine.cpp | 3 |
4 files changed, 5 insertions, 10 deletions
diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp index 4ed959e120..b98fbed695 100644 --- a/lib/CodeGen/LLVMTargetMachine.cpp +++ b/lib/CodeGen/LLVMTargetMachine.cpp @@ -72,8 +72,6 @@ static cl::opt<bool> ShowMCEncoding("show-mc-encoding", cl::Hidden, cl::desc("Show encoding in .s output")); static cl::opt<bool> ShowMCInst("show-mc-inst", cl::Hidden, cl::desc("Show instruction structure in .s output")); -static cl::opt<bool> DecodeMCLSDA("decode-mc-lsda", cl::Hidden, - cl::desc("Print LSDA in human readable format in .s output")); static cl::opt<bool> EnableMCLogging("enable-mc-api-logging", cl::Hidden, cl::desc("Enable MC API logging")); static cl::opt<bool> VerifyMachineCode("verify-machineinstrs", cl::Hidden, @@ -154,8 +152,7 @@ bool LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM, hasMCUseCFI(), InstPrinter, MCE, TAB, - ShowMCInst, - DecodeMCLSDA); + ShowMCInst); AsmStreamer.reset(S); break; } diff --git a/lib/MC/MCAsmStreamer.cpp b/lib/MC/MCAsmStreamer.cpp index 01de450d97..f83b91779d 100644 --- a/lib/MC/MCAsmStreamer.cpp +++ b/lib/MC/MCAsmStreamer.cpp @@ -1605,8 +1605,8 @@ MCStreamer *llvm::createAsmStreamer(MCContext &Context, bool isVerboseAsm, bool useLoc, bool useCFI, MCInstPrinter *IP, MCCodeEmitter *CE, TargetAsmBackend *TAB, - bool ShowInst, bool DecodeLSDA) { - if (DecodeLSDA) + bool ShowInst) { + if (isVerboseAsm) return new MCLSDADecoderAsmStreamer(Context, OS, isVerboseAsm, useLoc, useCFI, IP, CE, TAB, ShowInst); diff --git a/lib/Target/PTX/PTXMCAsmStreamer.cpp b/lib/Target/PTX/PTXMCAsmStreamer.cpp index bc37b6a1fb..1574670b6e 100644 --- a/lib/Target/PTX/PTXMCAsmStreamer.cpp +++ b/lib/Target/PTX/PTXMCAsmStreamer.cpp @@ -533,8 +533,7 @@ namespace llvm { bool isVerboseAsm, bool useLoc, bool useCFI, MCInstPrinter *IP, MCCodeEmitter *CE, TargetAsmBackend *TAB, - bool ShowInst, - bool /*DecodeLSDA*/) { + bool ShowInst) { return new PTXMCAsmStreamer(Context, OS, isVerboseAsm, useLoc, IP, CE, ShowInst); } diff --git a/lib/Target/PTX/PTXTargetMachine.cpp b/lib/Target/PTX/PTXTargetMachine.cpp index 31ed09c3e9..1b737c9d86 100644 --- a/lib/Target/PTX/PTXTargetMachine.cpp +++ b/lib/Target/PTX/PTXTargetMachine.cpp @@ -27,8 +27,7 @@ namespace llvm { MCInstPrinter *InstPrint, MCCodeEmitter *CE, TargetAsmBackend *TAB, - bool ShowInst, - bool DecodeLSDA); + bool ShowInst); } extern "C" void LLVMInitializePTXTarget() { |