mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[llvm-jitlink] Prevent missing symbols from JITLoaderGDB with MSVC mangling
The issue came up on builder clang-x64-windows-msvc after 5182a7901a5d83dfd15021d01e8a1899910130ec
This commit is contained in:
parent
0f5d46fc15
commit
ae81b5754a
@ -852,8 +852,9 @@ Session::Session(std::unique_ptr<TargetProcessControl> TPC, Error &Err)
|
||||
ObjLayer.addPlugin(std::make_unique<EHFrameRegistrationPlugin>(
|
||||
ES, ExitOnErr(TPCEHFrameRegistrar::Create(*this->TPC))));
|
||||
|
||||
ObjLayer.addPlugin(std::make_unique<DebugObjectManagerPlugin>(
|
||||
ES, ExitOnErr(createJITLoaderGDBRegistrar(*this->TPC))));
|
||||
if (!this->TPC->getTargetTriple().isOSWindows())
|
||||
ObjLayer.addPlugin(std::make_unique<DebugObjectManagerPlugin>(
|
||||
ES, ExitOnErr(createJITLoaderGDBRegistrar(*this->TPC))));
|
||||
|
||||
ObjLayer.addPlugin(std::make_unique<JITLinkSessionPlugin>(*this));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user