================ @@ -93,7 +93,7 @@ LLVMState::LLVMState(std::unique_ptr<const TargetMachine> TM, std::unique_ptr<TargetMachine> LLVMState::createTargetMachine() const { return std::unique_ptr<TargetMachine>( TheTargetMachine->getTarget().createTargetMachine( - TheTargetMachine->getTargetTriple().normalize(), + Triple(TheTargetMachine->getTargetTriple().normalize()), ---------------- dtcxzyw wrote:
```suggestion TheTargetMachine->getTargetTriple(), ``` https://github.com/llvm/llvm-project/pull/130940 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits