summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetLoweringObjectFile.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-17 18:49:52 +0000
committerChris Lattner <sabre@nondot.org>2009-09-17 18:49:52 +0000
commita6ebba270d1309e7c3d9fbdf58d8ac018138201f (patch)
tree9652f824e695331bad74a351e3666a8d757382f2 /llvm/lib/Target/TargetLoweringObjectFile.cpp
parent3aa2d7300be709fb2286e2aeab72dc82cb7c3011 (diff)
downloadbcm5719-llvm-a6ebba270d1309e7c3d9fbdf58d8ac018138201f.tar.gz
bcm5719-llvm-a6ebba270d1309e7c3d9fbdf58d8ac018138201f.zip
pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
currently unused. llvm-svn: 82157
Diffstat (limited to 'llvm/lib/Target/TargetLoweringObjectFile.cpp')
-rw-r--r--llvm/lib/Target/TargetLoweringObjectFile.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/TargetLoweringObjectFile.cpp b/llvm/lib/Target/TargetLoweringObjectFile.cpp
index fd8fd9006e3..c1aab9921fb 100644
--- a/llvm/lib/Target/TargetLoweringObjectFile.cpp
+++ b/llvm/lib/Target/TargetLoweringObjectFile.cpp
@@ -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;
OpenPOWER on IntegriCloud