aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/XRay
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/XRay
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/XRay')
-rw-r--r--llvm/lib/XRay/FDRTraceWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/XRay/FDRTraceWriter.cpp b/llvm/lib/XRay/FDRTraceWriter.cpp
index 2b80740..8e67a8f 100644
--- a/llvm/lib/XRay/FDRTraceWriter.cpp
+++ b/llvm/lib/XRay/FDRTraceWriter.cpp
@@ -57,7 +57,7 @@ Error writeMetadata(support::endian::Writer &OS, Values &&... Ds) {
} // namespace
FDRTraceWriter::FDRTraceWriter(raw_ostream &O, const XRayFileHeader &H)
- : OS(O, support::endianness::native) {
+ : OS(O, llvm::endianness::native) {
// We need to re-construct a header, by writing the fields we care about for
// traces, in the format that the runtime would have written.
uint32_t BitField =