mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Make EmitMappingInfo into an "external location" option, so that it can be set
or cleared externally. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16623 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f098ced848
commit
828c68a4de
@ -47,6 +47,10 @@ const TargetInstrDescriptor llvm::SparcV9MachineInstrDesc[] = {
|
||||
// Command line options to control choice of code generation passes.
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
namespace llvm {
|
||||
bool EmitMappingInfo = false;
|
||||
}
|
||||
|
||||
namespace {
|
||||
cl::opt<bool> DisableSched("disable-sched",
|
||||
cl::desc("Disable local scheduling pass"));
|
||||
@ -54,7 +58,9 @@ namespace {
|
||||
cl::opt<bool> DisablePeephole("disable-peephole",
|
||||
cl::desc("Disable peephole optimization pass"));
|
||||
|
||||
cl::opt<bool> EmitMappingInfo("enable-maps",
|
||||
cl::opt<bool, true> EmitMappingInfoOpt("enable-maps",
|
||||
cl::location(EmitMappingInfo),
|
||||
cl::init(false),
|
||||
cl::desc("Emit LLVM-to-MachineCode mapping info to assembly"));
|
||||
|
||||
cl::opt<bool> DisableStrip("disable-strip",
|
||||
|
Loading…
x
Reference in New Issue
Block a user