mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
CodeGen still defaults to non-verbose asm, but llc now overrides it and default to verbose.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67668 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -39,10 +39,10 @@ namespace llvm {
|
||||
bool PerformTailCallOpt;
|
||||
unsigned StackAlignment;
|
||||
bool RealignStack;
|
||||
bool VerboseAsm;
|
||||
bool DisableJumpTables;
|
||||
bool StrongPHIElim;
|
||||
bool DisableRedZone;
|
||||
bool AsmVerbosityDefault(false);
|
||||
}
|
||||
|
||||
static cl::opt<bool, true>
|
||||
@@ -154,10 +154,6 @@ EnableRealignStack("realign-stack",
|
||||
cl::location(RealignStack),
|
||||
cl::init(true));
|
||||
static cl::opt<bool, true>
|
||||
AsmVerbose("asm-verbose", cl::desc("Add comments to directives."),
|
||||
cl::location(VerboseAsm),
|
||||
cl::init(false));
|
||||
static cl::opt<bool, true>
|
||||
DisableSwitchTables(cl::Hidden, "disable-jump-tables",
|
||||
cl::desc("Do not generate jump tables."),
|
||||
cl::location(DisableJumpTables),
|
||||
@@ -203,6 +199,14 @@ void TargetMachine::setCodeModel(CodeModel::Model Model) {
|
||||
CMModel = Model;
|
||||
}
|
||||
|
||||
bool TargetMachine::getAsmVerbosityDefault() {
|
||||
return AsmVerbosityDefault;
|
||||
}
|
||||
|
||||
void TargetMachine::setAsmVerbosityDefault(bool V) {
|
||||
AsmVerbosityDefault = V;
|
||||
}
|
||||
|
||||
namespace llvm {
|
||||
/// LessPreciseFPMAD - This flag return true when -enable-fp-mad option
|
||||
/// is specified on the command line. When this flag is off(default), the
|
||||
|
Reference in New Issue
Block a user