mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
COFF: Let globals with private linkage reside in their own section
COFF COMDATs (for selection kinds other than 'select any') require at least one non-section symbol in the symbol table. Satisfy this by morally enhancing the linkage from private to internal. Differential Revision: http://reviews.llvm.org/D8394 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232570 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -147,6 +147,10 @@ public:
|
||||
SectionKind Kind, Mangler &Mang,
|
||||
const TargetMachine &TM) const override;
|
||||
|
||||
void getNameWithPrefix(SmallVectorImpl<char> &OutName, const GlobalValue *GV,
|
||||
bool CannotUsePrivateLabel, Mangler &Mang,
|
||||
const TargetMachine &TM) const override;
|
||||
|
||||
const MCSection *
|
||||
getSectionForJumpTable(const Function &F, Mangler &Mang,
|
||||
const TargetMachine &TM) const override;
|
||||
|
Reference in New Issue
Block a user