[PATCH] D111710: [AMDGPU][ASAN][OPENMP] Size Mismatch issue occurs when a global entry used in the target region is instrumented with ASAN specifically on AMDGPU occurs at Libomptarget level. There are trailing red zone for global variables mapped on the target...

Jon Chesterfield via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 21 07:42:24 PDT 2021


JonChesterfield added inline comments.


================
Comment at: llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp:101
     std::numeric_limits<uint64_t>::max();
-static const uint64_t kSmallX86_64ShadowOffsetBase = 0x7FFFFFFF;  // < 2G.
+static const uint64_t kSmallX86_64ShadowOffsetBase = 0x7FFFFFFF; // < 2G.
 static const uint64_t kSmallX86_64ShadowOffsetAlignMask = ~0xFFFULL;
----------------
could we lose the unrelated whitespace changes? git-clang-format HEAD^ may be useful for formatting only the parts you've changed


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111710/new/

https://reviews.llvm.org/D111710



More information about the llvm-commits mailing list