[all-commits] [llvm/llvm-project] c28b18: [KernelAddressSanitizer] Fix globals exclusion for...
Marco Elver via All-commits
all-commits at lists.llvm.org
Fri Dec 11 03:35:02 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c28b18af19621e6b5cca257ef7139ba93833df0c
https://github.com/llvm/llvm-project/commit/c28b18af19621e6b5cca257ef7139ba93833df0c
Author: Marco Elver <elver at google.com>
Date: 2020-12-11 (Fri, 11 Dec 2020)
Changed paths:
M clang/test/CodeGen/asan-globals-alias.cpp
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
Log Message:
-----------
[KernelAddressSanitizer] Fix globals exclusion for indirect aliases
GlobalAlias::getAliasee() may not always point directly to a
GlobalVariable. In such cases, try to find the canonical GlobalVariable
that the alias refers to.
Link: https://github.com/ClangBuiltLinux/linux/issues/1208
Reviewed By: dvyukov, nickdesaulniers
Differential Revision: https://reviews.llvm.org/D92846
More information about the All-commits
mailing list