summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachOWriter.h
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2007-02-28 07:40:50 +0000
committerNate Begeman <natebegeman@mac.com>2007-02-28 07:40:50 +0000
commite0232ec70651aebe0c33d478cce20ca064910ad3 (patch)
tree9c94d05cfec9ff5160304ef6a020a91ee6ccd116 /llvm/lib/CodeGen/MachOWriter.h
parent152bfa103ef42bee4e735ad0714f0068bcf15341 (diff)
downloadbcm5719-llvm-e0232ec70651aebe0c33d478cce20ca064910ad3.tar.gz
bcm5719-llvm-e0232ec70651aebe0c33d478cce20ca064910ad3.zip
More Mach-O writer improvements.
llvm-svn: 34740
Diffstat (limited to 'llvm/lib/CodeGen/MachOWriter.h')
-rw-r--r--llvm/lib/CodeGen/MachOWriter.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachOWriter.h b/llvm/lib/CodeGen/MachOWriter.h
index a26945874af..061213a8c8d 100644
--- a/llvm/lib/CodeGen/MachOWriter.h
+++ b/llvm/lib/CodeGen/MachOWriter.h
@@ -583,7 +583,7 @@ namespace llvm {
/// PendingSyms - This is a list of externally defined symbols that we have
/// been asked to emit, but have not seen a reference to. When a reference
/// is seen, the symbol will move from this list to the SymbolTable.
- std::vector<MachOSym> PendingSyms;
+ std::vector<GlobalValue*> PendingGlobals;
/// DynamicSymbolTable - This is just a vector of indices into
/// SymbolTable to aid in emitting the DYSYMTAB load command.
@@ -613,10 +613,12 @@ namespace llvm {
unsigned ToIndex,
OutputBuffer &RelocOut,
OutputBuffer &SecOut,
- bool Scattered) {
+ bool Scattered,
+ bool Extern) {
return TM.getMachOWriterInfo()->GetTargetRelocation(MR, FromIdx, ToAddr,
ToIndex, RelocOut,
- SecOut, Scattered);
+ SecOut, Scattered,
+ Extern);
}
};
}
OpenPOWER on IntegriCloud