diff options
| author | Aiden Grossman <aidengrossman@google.com> | 2025-09-09 03:19:14 +0000 |
|---|---|---|
| committer | Aiden Grossman <aidengrossman@google.com> | 2025-09-09 03:19:14 +0000 |
| commit | 8c3530cbde51ee85adff6ab20771367ada3a9b49 (patch) | |
| tree | 74e1b33408f9c293c5408951ac3b1053dbd6210c /bolt | |
| parent | 4b6cd10bc5039e5bfa60a74cdac744969332adb2 (diff) | |
| parent | 3b1ca5e7c5b94b10e3da554a060459a1a1e24495 (diff) | |
[𝘀𝗽𝗿] changes introduced through rebaseusers/boomanaiden154/main.lit-remove-python-27-code-paths-in-builtin-diff
Created using spr 1.3.6
[skip ci]
Diffstat (limited to 'bolt')
| -rw-r--r-- | bolt/lib/Core/BinaryContext.cpp | 6 |
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), |
