diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-17 18:49:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-17 18:49:52 +0000 |
commit | 8609c7c931c0213d6d29f665df2110cf3c709e4c (patch) | |
tree | 8a527f49337f8406ad1a01fcef90c2cba3cfee5a /lib/Target/TargetLoweringObjectFile.cpp | |
parent | 1f96e67f78110d0ac5b30a32375097a28f869c63 (diff) | |
download | external_llvm-8609c7c931c0213d6d29f665df2110cf3c709e4c.zip external_llvm-8609c7c931c0213d6d29f665df2110cf3c709e4c.tar.gz external_llvm-8609c7c931c0213d6d29f665df2110cf3c709e4c.tar.bz2 |
pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
currently unused.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82157 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetLoweringObjectFile.cpp')
-rw-r--r-- | lib/Target/TargetLoweringObjectFile.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp index fd8fd90..c1aab99 100644 --- a/lib/Target/TargetLoweringObjectFile.cpp +++ b/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; |