mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-16 20:41:44 +00:00
[ELF] Fix Windows build error
Attempt to fix Windows buildbots From 307131 Replaced return {ET, false}; with return std::make_pair(ET, false); llvm-svn: 307137
This commit is contained in:
parent
fa23764278
commit
283b9f2de3
@ -1054,12 +1054,12 @@ std::pair<Thunk *, bool> ThunkCreator::getThunk(SymbolBody &Body,
|
||||
// Check existing Thunks for Body to see if they can be reused
|
||||
for (Thunk *ET : Res.first->second)
|
||||
if (ET->isCompatibleWith(Type))
|
||||
return {ET, false};
|
||||
return std::make_pair(ET, false);
|
||||
}
|
||||
// No existing compatible Thunk in range, create a new one
|
||||
Thunk *T = addThunk(Type, Body);
|
||||
Res.first->second.push_back(T);
|
||||
return {T, true};
|
||||
return std::make_pair(T, true);
|
||||
}
|
||||
|
||||
// Call Fn on every executable InputSection accessed via the linker script
|
||||
|
Loading…
Reference in New Issue
Block a user