aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/PDB
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2023-10-10 20:14:20 -0700
committerKazu Hirata <kazu@google.com>2023-10-10 20:14:20 -0700
commitb05dbc4d5f28e4fe6ac4486925e09d64861720cc (patch)
treebfa660724a2d6b55b56e0f4efcd199828b70439a /llvm/lib/DebugInfo/PDB
parent8c67c48591fbf76559a8b39e68c88c4da0a40218 (diff)
downloadllvm-b05dbc4d5f28e4fe6ac4486925e09d64861720cc.zip
llvm-b05dbc4d5f28e4fe6ac4486925e09d64861720cc.tar.gz
llvm-b05dbc4d5f28e4fe6ac4486925e09d64861720cc.tar.bz2
[llvm] Use llvm::endianness::{big,little,native} (NFC)
Now that llvm::support::endianness has been renamed to llvm::endianness, we can use the shorter form. This patch replaces support::endianness::{big,little,native} with llvm::endianness::{big,little,native}.
Diffstat (limited to 'llvm/lib/DebugInfo/PDB')
-rw-r--r--llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp b/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
index 9f9bd47..c195754 100644
--- a/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
+++ b/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
@@ -394,7 +394,7 @@ static Error writePublics(BinaryStreamWriter &Writer,
static Error writeRecords(BinaryStreamWriter &Writer,
ArrayRef<CVSymbol> Records) {
- BinaryItemStream<CVSymbol> ItemStream(support::endianness::little);
+ BinaryItemStream<CVSymbol> ItemStream(llvm::endianness::little);
ItemStream.setItems(Records);
BinaryStreamRef RecordsRef(ItemStream);
return Writer.writeStreamRef(RecordsRef);