================
@@ -1107,13 +1107,22 @@ std::string LLJIT::mangle(StringRef UnmangledName) 
const {
   return MangledName;
 }
 
-Error LLJIT::applyDataLayout(Module &M) {
+Error LLJIT::applyTargetConfig(Module &M) {
+  if (M.getTargetTriple().empty()) {
+    M.setTargetTriple(TT);
----------------
lhames wrote:

Looks good.

https://github.com/llvm/llvm-project/pull/216132
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to