[PATCH] D92275: [msan] Replace 8 by kShadowTLSAlignment
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 1 17:11:50 PST 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG405ea2b93d96: [msan] Replace 8 by kShadowTLSAlignment (authored by Jianzhou Zhao <jianzhouzh at google.com>).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92275/new/
https://reviews.llvm.org/D92275
Files:
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Index: llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
===================================================================
--- llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+++ llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
@@ -3708,7 +3708,7 @@
(void)Store;
assert(Size != 0 && Store != nullptr);
LLVM_DEBUG(dbgs() << " Param:" << *Store << "\n");
- ArgOffset += alignTo(Size, 8);
+ ArgOffset += alignTo(Size, kShadowTLSAlignment);
}
LLVM_DEBUG(dbgs() << " done with call args\n");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92275.308821.patch
Type: text/x-patch
Size: 555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201202/ea5e726a/attachment-0001.bin>
More information about the llvm-commits
mailing list