mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[ThinLTO] Release files read when creating combined index in gold plugin
This wasn't causing an issue since at HEAD we exit the linker completely after creating the combined index. llvm-svn: 255156
This commit is contained in:
parent
dc26fb037c
commit
f07f0a51b6
@ -919,6 +919,9 @@ static ld_plugin_status allSymbolsReadHook(raw_fd_ostream *ApiFile) {
|
||||
continue;
|
||||
|
||||
CombinedIndex.mergeFrom(std::move(Index), ++NextModuleId);
|
||||
|
||||
if (release_input_file(F.handle) != LDPS_OK)
|
||||
message(LDPL_FATAL, "Failed to release file information");
|
||||
}
|
||||
|
||||
std::error_code EC;
|
||||
|
Loading…
Reference in New Issue
Block a user