[PATCH] D102446: [PATCH] [sanitizer] Use size_t on g_tls_size
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 13 18:07:20 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG72797dedb720: [sanitizer] Use size_t on g_tls_size to fix build on x32 (authored by hjl.tools, committed by MaskRay).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102446/new/
https://reviews.llvm.org/D102446
Files:
compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
Index: compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
===================================================================
--- compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
+++ compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
@@ -197,7 +197,7 @@
__attribute__((unused)) static int g_use_dlpi_tls_data;
#if SANITIZER_GLIBC && !SANITIZER_GO
-__attribute__((unused)) static uptr g_tls_size;
+__attribute__((unused)) static size_t g_tls_size;
void InitTlsSize() {
int major, minor, patch;
g_use_dlpi_tls_data =
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102446.345323.patch
Type: text/x-patch
Size: 558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210514/a5cbdd93/attachment.bin>
More information about the llvm-commits
mailing list