[llvm] ab7d421 - size_t -> uint64_t after 05392466
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 6 13:52:17 PDT 2021
Author: Arthur Eubanks
Date: 2021-10-06T13:52:04-07:00
New Revision: ab7d4218691111ad45836f6cce0348d842145b64
URL: https://github.com/llvm/llvm-project/commit/ab7d4218691111ad45836f6cce0348d842145b64
DIFF: https://github.com/llvm/llvm-project/commit/ab7d4218691111ad45836f6cce0348d842145b64.diff
LOG: size_t -> uint64_t after 05392466
Fixes some bots where the two differ.
Added:
Modified:
llvm/lib/Transforms/Utils/ASanStackFrameLayout.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Utils/ASanStackFrameLayout.cpp b/llvm/lib/Transforms/Utils/ASanStackFrameLayout.cpp
index 01912297324a..d987d7189552 100644
--- a/llvm/lib/Transforms/Utils/ASanStackFrameLayout.cpp
+++ b/llvm/lib/Transforms/Utils/ASanStackFrameLayout.cpp
@@ -33,7 +33,7 @@ static inline bool CompareVars(const ASanStackVariableDescription &a,
// We also force minimal alignment for all vars to kMinAlignment so that vars
// with e.g. alignment 1 and alignment 16 do not get reordered by CompareVars.
-static const size_t kMinAlignment = 16;
+static const uint64_t kMinAlignment = 16;
// We want to add a full redzone after every variable.
// The larger the variable Size the larger is the redzone.
More information about the llvm-commits
mailing list