diff options
| author | Kazu Hirata <kazu@google.com> | 2023-10-12 21:21:44 -0700 |
|---|---|---|
| committer | Kazu Hirata <kazu@google.com> | 2023-10-12 21:21:45 -0700 |
| commit | 4a0ccfa865437fe29ef2ecb18152df7694dddb7f (patch) | |
| tree | 94df9df11f3172a15a522440a2175d6d1d9b6757 /llvm/lib/ExecutionEngine/Orc/Debugging/DebuggerSupportPlugin.cpp | |
| parent | 2045cca0c3d27f046c96257abfa11c769ce9b1ce (diff) | |
Use llvm::endianness::{big,little,native} (NFC)
Note that llvm::support::endianness has been renamed to
llvm::endianness while becoming an enum class as opposed to an
enum. This patch replaces support::{big,little,native} with
llvm::endianness::{big,little,native}.
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/Debugging/DebuggerSupportPlugin.cpp')
| -rw-r--r-- | llvm/lib/ExecutionEngine/Orc/Debugging/DebuggerSupportPlugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/Debugging/DebuggerSupportPlugin.cpp b/llvm/lib/ExecutionEngine/Orc/Debugging/DebuggerSupportPlugin.cpp index 6959b068aa6e..cdc1158ce1c4 100644 --- a/llvm/lib/ExecutionEngine/Orc/Debugging/DebuggerSupportPlugin.cpp +++ b/llvm/lib/ExecutionEngine/Orc/Debugging/DebuggerSupportPlugin.cpp @@ -374,7 +374,7 @@ void GDBJITDebugInfoRegistrationPlugin::modifyPassConfigForMachO( case Triple::aarch64: // Supported, continue. assert(LG.getPointerSize() == 8 && "Graph has incorrect pointer size"); - assert(LG.getEndianness() == support::little && + assert(LG.getEndianness() == llvm::endianness::little && "Graph has incorrect endianness"); break; default: @@ -384,7 +384,7 @@ void GDBJITDebugInfoRegistrationPlugin::modifyPassConfigForMachO( << "MachO graph " << LG.getName() << "(triple = " << LG.getTargetTriple().str() << ", pointer size = " << LG.getPointerSize() << ", endianness = " - << (LG.getEndianness() == support::big ? "big" : "little") + << (LG.getEndianness() == llvm::endianness::big ? "big" : "little") << ")\n"; }); return; |
