1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +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:
Stefan Gränitz 2021-03-02 21:42:11 +01:00
parent 0f5d46fc15
commit ae81b5754a

View File

@ -852,6 +852,7 @@ Session::Session(std::unique_ptr<TargetProcessControl> TPC, Error &Err)
ObjLayer.addPlugin(std::make_unique<EHFrameRegistrationPlugin>(
ES, ExitOnErr(TPCEHFrameRegistrar::Create(*this->TPC))));
if (!this->TPC->getTargetTriple().isOSWindows())
ObjLayer.addPlugin(std::make_unique<DebugObjectManagerPlugin>(
ES, ExitOnErr(createJITLoaderGDBRegistrar(*this->TPC))));