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/DebugInfo/CodeView/SymbolSerializer.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/DebugInfo/CodeView/SymbolSerializer.cpp')
| -rw-r--r-- | llvm/lib/DebugInfo/CodeView/SymbolSerializer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/SymbolSerializer.cpp b/llvm/lib/DebugInfo/CodeView/SymbolSerializer.cpp index 5fb8d497b957..e52f3e56f115 100644 --- a/llvm/lib/DebugInfo/CodeView/SymbolSerializer.cpp +++ b/llvm/lib/DebugInfo/CodeView/SymbolSerializer.cpp @@ -20,8 +20,8 @@ using namespace llvm::codeview; SymbolSerializer::SymbolSerializer(BumpPtrAllocator &Allocator, CodeViewContainer Container) - : Storage(Allocator), Stream(RecordBuffer, support::little), Writer(Stream), - Mapping(Writer, Container) {} + : Storage(Allocator), Stream(RecordBuffer, llvm::endianness::little), + Writer(Stream), Mapping(Writer, Container) {} Error SymbolSerializer::visitSymbolBegin(CVSymbol &Record) { assert(!CurrentSymbol && "Already in a symbol mapping!"); |
