mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 17:24:48 +00:00
Migrate ABIName to MCTargetOptions so that it can be shared between
the TargetMachine level and the MC level. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225891 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/MC/MCTargetOptions.h"
|
||||
|
||||
namespace llvm {
|
||||
@ -15,6 +16,10 @@ MCTargetOptions::MCTargetOptions()
|
||||
: SanitizeAddress(false), MCRelaxAll(false), MCNoExecStack(false),
|
||||
MCFatalWarnings(false), MCSaveTempLabels(false),
|
||||
MCUseDwarfDirectory(false), ShowMCEncoding(false), ShowMCInst(false),
|
||||
AsmVerbose(false), DwarfVersion(0) {}
|
||||
AsmVerbose(false), DwarfVersion(0), ABIName() {}
|
||||
|
||||
StringRef MCTargetOptions::getABIName() const {
|
||||
return ABIName;
|
||||
}
|
||||
|
||||
} // end namespace llvm
|
||||
|
Reference in New Issue
Block a user