mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
currently unused. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82157 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -290,6 +290,7 @@ TargetLoweringObjectFile::getSectionForConstant(SectionKind Kind) const {
|
||||
///
|
||||
const MCExpr *TargetLoweringObjectFile::
|
||||
getSymbolForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang,
|
||||
MachineModuleInfo *MMI,
|
||||
bool &IsIndirect, bool &IsPCRel) const {
|
||||
// The generic implementation of this just returns a direct reference to the
|
||||
// symbol.
|
||||
@ -956,6 +957,7 @@ shouldEmitUsedDirectiveFor(const GlobalValue *GV, Mangler *Mang) const {
|
||||
|
||||
const MCExpr *TargetLoweringObjectFileMachO::
|
||||
getSymbolForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang,
|
||||
MachineModuleInfo *MMI,
|
||||
bool &IsIndirect, bool &IsPCRel) const {
|
||||
// The mach-o version of this method defaults to returning a stub reference.
|
||||
IsIndirect = true;
|
||||
|
Reference in New Issue
Block a user