mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +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:
@@ -174,6 +174,7 @@ public:
|
||||
static Reloc::Model getRelocationModel();
|
||||
|
||||
/// setRelocationModel - Sets the code generation relocation model.
|
||||
///
|
||||
static void setRelocationModel(Reloc::Model Model);
|
||||
|
||||
/// getCodeModel - Returns the code model. The choices are small, kernel,
|
||||
@@ -181,8 +182,17 @@ public:
|
||||
static CodeModel::Model getCodeModel();
|
||||
|
||||
/// setCodeModel - Sets the code model.
|
||||
///
|
||||
static void setCodeModel(CodeModel::Model Model);
|
||||
|
||||
/// getAsmVerbosityDefault - Returns the default value of asm verbosity.
|
||||
///
|
||||
static bool getAsmVerbosityDefault();
|
||||
|
||||
/// setAsmVerbosityDefault - Set the default value of asm verbosity. Default
|
||||
/// is false.
|
||||
static void setAsmVerbosityDefault(bool);
|
||||
|
||||
/// CodeGenFileType - These enums are meant to be passed into
|
||||
/// addPassesToEmitFile to indicate what type of file to emit.
|
||||
enum CodeGenFileType {
|
||||
@@ -319,8 +329,8 @@ public:
|
||||
/// addAssemblyEmitter - This pass should be overridden by the target to add
|
||||
/// the asmprinter, if asm emission is supported. If this is not supported,
|
||||
/// 'true' should be returned.
|
||||
virtual bool addAssemblyEmitter(PassManagerBase &, bool /*Fast*/,
|
||||
raw_ostream &) {
|
||||
virtual bool addAssemblyEmitter(PassManagerBase &, bool /*Fast*/,
|
||||
bool /* VerboseAsmDefault */, raw_ostream &) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -104,10 +104,6 @@ namespace llvm {
|
||||
/// realigned, if needed.
|
||||
extern bool RealignStack;
|
||||
|
||||
/// VerboseAsm - When this flag is set, the asm printer prints additional
|
||||
/// comments to asm directives.
|
||||
extern bool VerboseAsm;
|
||||
|
||||
/// DisableJumpTables - This flag indicates jump tables should not be
|
||||
/// generated.
|
||||
extern bool DisableJumpTables;
|
||||
|
||||
Reference in New Issue
Block a user