[JITListener] Fix build after Module::getTargetTriple() change (#130152)

Adjust for #129868.
This commit is contained in:
Zentrik 2025-03-07 15:37:19 +07:00 committed by GitHub
parent bd5f29c008
commit d7f409d39a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -168,7 +168,7 @@ protected:
if (Tuple.isOSWindows() && !Tuple.isOSBinFormatELF()) { if (Tuple.isOSWindows() && !Tuple.isOSBinFormatELF()) {
Tuple.setObjectFormat(Triple::ELF); Tuple.setObjectFormat(Triple::ELF);
TheModule->setTargetTriple(Tuple.getTriple()); TheModule->setTargetTriple(Tuple);
} }
// Compile the IR // Compile the IR