summaryrefslogtreecommitdiff
path: root/bolt
diff options
context:
space:
mode:
authorAiden Grossman <aidengrossman@google.com>2025-09-09 03:19:14 +0000
committerAiden Grossman <aidengrossman@google.com>2025-09-09 03:19:14 +0000
commit8c3530cbde51ee85adff6ab20771367ada3a9b49 (patch)
tree74e1b33408f9c293c5408951ac3b1053dbd6210c /bolt
parent4b6cd10bc5039e5bfa60a74cdac744969332adb2 (diff)
parent3b1ca5e7c5b94b10e3da554a060459a1a1e24495 (diff)
Created using spr 1.3.6 [skip ci]
Diffstat (limited to 'bolt')
-rw-r--r--bolt/lib/Core/BinaryContext.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/bolt/lib/Core/BinaryContext.cpp b/bolt/lib/Core/BinaryContext.cpp
index dd0d04169248..23a5a65c2c5f 100644
--- a/bolt/lib/Core/BinaryContext.cpp
+++ b/bolt/lib/Core/BinaryContext.cpp
@@ -207,7 +207,7 @@ Expected<std::unique_ptr<BinaryContext>> BinaryContext::createBinaryContext(
Twine("BOLT-ERROR: ", Error));
std::unique_ptr<const MCRegisterInfo> MRI(
- TheTarget->createMCRegInfo(TripleName));
+ TheTarget->createMCRegInfo(TheTriple));
if (!MRI)
return createStringError(
make_error_code(std::errc::not_supported),
@@ -215,7 +215,7 @@ Expected<std::unique_ptr<BinaryContext>> BinaryContext::createBinaryContext(
// Set up disassembler.
std::unique_ptr<MCAsmInfo> AsmInfo(
- TheTarget->createMCAsmInfo(*MRI, TripleName, MCTargetOptions()));
+ TheTarget->createMCAsmInfo(*MRI, TheTriple, MCTargetOptions()));
if (!AsmInfo)
return createStringError(
make_error_code(std::errc::not_supported),
@@ -227,7 +227,7 @@ Expected<std::unique_ptr<BinaryContext>> BinaryContext::createBinaryContext(
AsmInfo->setAllowAtInName(true);
std::unique_ptr<const MCSubtargetInfo> STI(
- TheTarget->createMCSubtargetInfo(TripleName, "", FeaturesStr));
+ TheTarget->createMCSubtargetInfo(TheTriple, "", FeaturesStr));
if (!STI)
return createStringError(
make_error_code(std::errc::not_supported),