mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-29 04:01:27 +01:00
Merge pull request #4408 from Sonicadvance1/fix_thunks_llvm_20
LibraryForwarding/gen: Fixes compiling with LLVM 20
This commit is contained in:
1 file changed
+4
@@ -812,7 +812,11 @@ bool GenerateThunkLibsActionFactory::runInvocation(std::shared_ptr<clang::Compil
|
||||
|
||||
GenerateThunkLibsAction Action(libname, output_filenames, abi);
|
||||
|
||||
#if LLVM_VERSION_MAJOR >= 20
|
||||
Compiler.createDiagnostics(Compiler.getVirtualFileSystem(), DiagConsumer, false);
|
||||
#else
|
||||
Compiler.createDiagnostics(DiagConsumer, false);
|
||||
#endif
|
||||
if (!Compiler.hasDiagnostics()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user