aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2023-10-09 00:54:47 -0700
committerKazu Hirata <kazu@google.com>2023-10-09 00:54:47 -0700
commitd7b18d5083648c26b94adc2651edb87848138728 (patch)
treebb95102cfab60c76fed6bd2c6031a2c0dfb861d5 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentcb550c178d4aa98c153155e0f35e3fd6e4278ca5 (diff)
downloadllvm-d7b18d5083648c26b94adc2651edb87848138728.zip
llvm-d7b18d5083648c26b94adc2651edb87848138728.tar.gz
llvm-d7b18d5083648c26b94adc2651edb87848138728.tar.bz2
Use llvm::endianness{,::little,::native} (NFC)
Now that llvm::support::endianness has been renamed to llvm::endianness, we can use the shorter form. This patch replaces llvm::support::endianness with llvm::endianness.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
index 4ff0560..a41d035 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
@@ -3353,7 +3353,7 @@ void CodeViewDebug::emitConstantSymbolRecord(const DIType *DTy, APSInt &Value,
// Encoded integers shouldn't need more than 10 bytes.
uint8_t Data[10];
- BinaryStreamWriter Writer(Data, llvm::support::endianness::little);
+ BinaryStreamWriter Writer(Data, llvm::endianness::little);
CodeViewRecordIO IO(Writer);
cantFail(IO.mapEncodedInteger(Value));
StringRef SRef((char *)Data, Writer.getOffset());