mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Recommit r224935 with a fix for the ObjC++/AArch64 bug that that revision
introduced. A test case for the bug was already committed in r225385. Patch by Rafael Espindola. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225534 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -89,8 +89,6 @@ public:
|
||||
ArrayRef<Module::ModuleFlagEntry> ModuleFlags,
|
||||
Mangler &Mang, const TargetMachine &TM) const override;
|
||||
|
||||
bool isSectionAtomizableBySymbols(const MCSection &Section) const override;
|
||||
|
||||
const MCSection *
|
||||
SelectSectionForGlobal(const GlobalValue *GV,
|
||||
SectionKind Kind, Mangler &Mang,
|
||||
|
||||
@@ -67,14 +67,6 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
/// isSectionAtomizable - Check whether the given section can be split into
|
||||
/// atoms.
|
||||
///
|
||||
/// \see MCAssembler::isSymbolLinkerVisible().
|
||||
virtual bool isSectionAtomizable(const MCSection &Section) const {
|
||||
return true;
|
||||
}
|
||||
|
||||
/// @name Target Fixup Interfaces
|
||||
/// @{
|
||||
|
||||
|
||||
@@ -382,6 +382,12 @@ public:
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
/// \brief True if the section is atomized using the symbols in it.
|
||||
/// This is false if the section is not atomized at all (most ELF sections) or
|
||||
/// if it is atomized based on its contents (MachO' __TEXT,__cstring for
|
||||
/// example).
|
||||
virtual bool isSectionAtomizableBySymbols(const MCSection &Section) const;
|
||||
|
||||
virtual const MCExpr *getExprForPersonalitySymbol(const MCSymbol *Sym,
|
||||
unsigned Encoding,
|
||||
MCStreamer &Streamer) const;
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
|
||||
namespace llvm {
|
||||
class MCAsmInfoDarwin : public MCAsmInfo {
|
||||
virtual void anchor();
|
||||
public:
|
||||
explicit MCAsmInfoDarwin();
|
||||
bool isSectionAtomizableBySymbols(const MCSection &Section) const override;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -151,12 +151,6 @@ public:
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
/// \brief True if the section is atomized using the symbols in it.
|
||||
/// This is false if the section is not atomized at all (most ELF sections) or
|
||||
/// if it is atomized based on its contents (MachO' __TEXT,__cstring for
|
||||
/// example).
|
||||
virtual bool isSectionAtomizableBySymbols(const MCSection &Section) const;
|
||||
|
||||
protected:
|
||||
virtual const MCSection *
|
||||
SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
|
||||
|
||||
Reference in New Issue
Block a user