SuccessChanges

Summary

  1. [AddressSanitizer] Only instrument globals of default address space (details)
Commit 760ed8da98e3c4cd80e92bbdcc78c181f36f71d4 by karl-johan.karlsson
[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
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
The file was addedllvm/test/Instrumentation/AddressSanitizer/global_addrspace.ll