Skip to content

Commit 3930a91

Browse files
committed
Use uint64_t per Vitaly's feedback
1 parent 69cde77 commit 3930a91

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

llvm/include/llvm/Transforms/Instrumentation/HWAddressSanitizer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ enum { RuntimeMask = 0xffff };
6767

6868
} // namespace HWASanAccessInfo
6969

70-
std::optional<unsigned long long> getFixedShadowBase(void);
70+
std::optional<uint64_t> getFixedShadowBase(void);
7171

7272
} // namespace llvm
7373

llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class AArch64AsmPrinter : public AsmPrinter {
118118
void LowerPATCHABLE_EVENT_CALL(const MachineInstr &MI, bool Typed);
119119

120120
typedef std::tuple<unsigned, bool, uint32_t> HwasanMemaccessTuple;
121-
std::optional<unsigned long long> HwasanFixedShadowBase = std::nullopt;
121+
std::optional<uint64_t> HwasanFixedShadowBase = std::nullopt;
122122
std::map<HwasanMemaccessTuple, MCSymbol *> HwasanMemaccessSymbols;
123123
void LowerKCFI_CHECK(const MachineInstr &MI);
124124
void LowerHWASAN_CHECK_MEMACCESS(const MachineInstr &MI);

llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ class HWAddressSanitizer {
449449
} // end anonymous namespace
450450

451451
namespace llvm {
452-
std::optional<unsigned long long> getFixedShadowBase(void) {
452+
std::optional<uint64_t> getFixedShadowBase(void) {
453453
if (ClMappingOffset.getNumOccurrences() > 0)
454454
return ClMappingOffset;
455455
return std::nullopt;

0 commit comments

Comments
 (0)