mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18:24:00 +00:00
move three lowering hooks from MAI to TLOF and make one of them
semantic instead of syntactic. This completes MCization of darwin/x86[-64]! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98145 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -466,6 +466,14 @@ getMachOSection(StringRef Segment, StringRef Section,
|
||||
|
||||
void TargetLoweringObjectFileMachO::Initialize(MCContext &Ctx,
|
||||
const TargetMachine &TM) {
|
||||
// _foo.eh symbols are currently always exported so that the linker knows
|
||||
// about them. This is not necessary on 10.6 and later, but it
|
||||
// doesn't hurt anything.
|
||||
// FIXME: I need to get this from Triple.
|
||||
IsFunctionEHSymbolGlobal = true;
|
||||
IsFunctionEHFrameSymbolPrivate = false;
|
||||
SupportsWeakOmittedEHFrame = false;
|
||||
|
||||
if (UniquingMap != 0)
|
||||
((MachOUniqueMapTy*)UniquingMap)->clear();
|
||||
TargetLoweringObjectFile::Initialize(Ctx, TM);
|
||||
|
Reference in New Issue
Block a user