[all-commits] [llvm/llvm-project] 760ed8: [AddressSanitizer] Only instrument globals of defa...
karka228 via All-commits
all-commits at lists.llvm.org
Wed Oct 30 01:46:12 PDT 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 760ed8da98e3c4cd80e92bbdcc78c181f36f71d4
https://github.com/llvm/llvm-project/commit/760ed8da98e3c4cd80e92bbdcc78c181f36f71d4
Author: Karl-Johan Karlsson <karl-johan.karlsson at ericsson.com>
Date: 2019-10-30 (Wed, 30 Oct 2019)
Changed paths:
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
A llvm/test/Instrumentation/AddressSanitizer/global_addrspace.ll
Log Message:
-----------
[AddressSanitizer] Only instrument globals of default address space
The address sanitizer ignore memory accesses from different address
spaces, however when instrumenting globals the check for different
address spaces is missing. This result in assertion failure. The fault
was found in an out of tree target.
The patch skip all globals of non default address space.
Reviewed By: leonardchan, vitalybuka
Differential Revision: https://reviews.llvm.org/D68790
More information about the All-commits
mailing list