mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[dsymutil] Unbreak non-Darwin bots.
BinaryHolder -> BinHolder llvm-svn: 327384
This commit is contained in:
parent
8c34c83fc6
commit
4c2c830a6e
@ -1554,7 +1554,7 @@ private:
|
||||
/// Keeps track of data associated with one object during linking.
|
||||
struct LinkContext {
|
||||
DebugMapObject &DMO;
|
||||
BinaryHolder BinaryHolder;
|
||||
BinaryHolder BinHolder;
|
||||
const object::ObjectFile *ObjectFile;
|
||||
RelocationManager RelocMgr;
|
||||
std::unique_ptr<DWARFContext> DwarfContext;
|
||||
@ -1563,8 +1563,8 @@ private:
|
||||
|
||||
LinkContext(const DebugMap &Map, DwarfLinker &Linker, DebugMapObject &DMO,
|
||||
bool Verbose = false)
|
||||
: DMO(DMO), BinaryHolder(Verbose), RelocMgr(Linker) {
|
||||
auto ErrOrObj = Linker.loadObject(BinaryHolder, DMO, Map);
|
||||
: DMO(DMO), BinHolder(Verbose), RelocMgr(Linker) {
|
||||
auto ErrOrObj = Linker.loadObject(BinHolder, DMO, Map);
|
||||
ObjectFile = ErrOrObj ? &*ErrOrObj : nullptr;
|
||||
DwarfContext = ObjectFile ? DWARFContext::create(*ObjectFile) : nullptr;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user