[PATCH] D15642: [asan] Use private aliases for global variables (LLVM part).
Alexey Samsonov via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 2 10:37:36 PST 2016
samsonov added a comment.
Sorry for delayed response. Please add an LLVM test for this instrumentation.
================
Comment at: lib/Transforms/Instrumentation/AddressSanitizer.cpp:104
@@ -103,2 +103,3 @@
static const char *const kAsanGenPrefix = "__asan_gen_";
+static const char *const kODRGenPrefix = "__odr_gen_";
static const char *const kSanCovGenPrefix = "__sancov_gen_";
----------------
Consider naming this to __asan_odr_gen, so that we could know that these new globals are smth. added by ASan.
Repository:
rL LLVM
http://reviews.llvm.org/D15642
More information about the llvm-commits
mailing list