summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2018-07-18 22:23:14 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2018-07-18 22:23:14 +0000
commit4a653fa7f1818b4384437ba65e1d2cce9ed46f79 (patch)
tree2156e52183e2487400339df3c59e1648b4093f57 /llvm/lib/Transforms
parent4a2948253fd59444ba2e0ce7384d1ca2f8a4f8f3 (diff)
downloadbcm5719-llvm-4a653fa7f1818b4384437ba65e1d2cce9ed46f79.tar.gz
bcm5719-llvm-4a653fa7f1818b4384437ba65e1d2cce9ed46f79.zip
Rename __asan_gen_* symbols to ___asan_gen_*.
This prevents gold from printing a warning when trying to export these symbols via the asan dynamic list after ThinLTO promotes them from private symbols to external symbols with hidden visibility. Differential Revision: https://reviews.llvm.org/D49498 llvm-svn: 337428
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
index b33cc5e7c2e..b3f65919455 100644
--- a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
@@ -153,7 +153,7 @@ static const char *const kAsanHandleNoReturnName = "__asan_handle_no_return";
static const int kMaxAsanStackMallocSizeClass = 10;
static const char *const kAsanStackMallocNameTemplate = "__asan_stack_malloc_";
static const char *const kAsanStackFreeNameTemplate = "__asan_stack_free_";
-static const char *const kAsanGenPrefix = "__asan_gen_";
+static const char *const kAsanGenPrefix = "___asan_gen_";
static const char *const kODRGenPrefix = "__odr_asan_gen_";
static const char *const kSanCovGenPrefix = "__sancov_gen_";
static const char *const kAsanSetShadowPrefix = "__asan_set_shadow_";
OpenPOWER on IntegriCloud