mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
MachO: direct-to-object attribute for data-in-code markers.
The target backend can support data-in-code load commands even when the assembler doesn't, or vice-versa. Allow targets to opt-in for direct-to-object. PR13973. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164974 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -593,7 +593,9 @@ public:
|
||||
const object::mach::CPUSubtypeARM Subtype;
|
||||
DarwinARMAsmBackend(const Target &T, const StringRef TT,
|
||||
object::mach::CPUSubtypeARM st)
|
||||
: ARMAsmBackend(T, TT), Subtype(st) { }
|
||||
: ARMAsmBackend(T, TT), Subtype(st) {
|
||||
HasDataInCodeSupport = true;
|
||||
}
|
||||
|
||||
MCObjectWriter *createObjectWriter(raw_ostream &OS) const {
|
||||
return createARMMachObjectWriter(OS, /*Is64Bit=*/false,
|
||||
|
Reference in New Issue
Block a user