Skip to content

Commit 0c02306

Browse files
committed
[llvm-xray] Use correct variable name
This fixes the compiler error introduced in r349129. llvm-svn: 349130
1 parent 27e2f20 commit 0c02306

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/XRay/InstrumentationMap.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ loadObj(StringRef Filename, object::OwningBinary<object::ObjectFile> &ObjFile,
137137
Sleds.push_back({});
138138
auto &Entry = Sleds.back();
139139
uint32_t OffsetPtr = 0;
140-
uint32_t AddrPtr = OffsetPtr;
140+
uint32_t AddrOff = OffsetPtr;
141141
Entry.Address = RelocateOrElse(AddrOff, Extractor.getU64(&OffsetPtr));
142-
uint32_t FuncPtr = OffsetPtr;
142+
uint32_t FuncOff = OffsetPtr;
143143
Entry.Function = RelocateOrElse(FuncOff, Extractor.getU64(&OffsetPtr));
144144
auto Kind = Extractor.getU8(&OffsetPtr);
145145
static constexpr SledEntry::FunctionKinds Kinds[] = {

0 commit comments

Comments
 (0)