mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Remove DataLayout from TargetLoweringObjectFile, redirect to Module
Summary: This change is part of a series of commits dedicated to have a single DataLayout during compilation by using always the one owned by the module. Reviewers: echristo Subscribers: yaron.keren, rafael, llvm-commits, jholewinski Differential Revision: http://reviews.llvm.org/D11079 From: Mehdi Amini <mehdi.amini@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242385 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -41,12 +41,12 @@ public:
|
||||
|
||||
~TargetLoweringObjectFileELF() override {}
|
||||
|
||||
void emitPersonalityValue(MCStreamer &Streamer, const TargetMachine &TM,
|
||||
void emitPersonalityValue(MCStreamer &Streamer, const DataLayout &TM,
|
||||
const MCSymbol *Sym) const override;
|
||||
|
||||
/// Given a constant with the SectionKind, return a section that it should be
|
||||
/// placed in.
|
||||
MCSection *getSectionForConstant(SectionKind Kind,
|
||||
MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
|
||||
const Constant *C) const override;
|
||||
|
||||
MCSection *getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
|
||||
@ -103,7 +103,7 @@ public:
|
||||
Mangler &Mang,
|
||||
const TargetMachine &TM) const override;
|
||||
|
||||
MCSection *getSectionForConstant(SectionKind Kind,
|
||||
MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
|
||||
const Constant *C) const override;
|
||||
|
||||
/// The mach-o version of this method defaults to returning a stub reference.
|
||||
|
Reference in New Issue
Block a user