1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/lib/Transforms
Alexander Potapenko bf022826bd [MSan] introduce getShadowOriginPtr(). NFC.
This patch introduces getShadowOriginPtr(), a method that obtains both the shadow and origin pointers for an address as a Value pair.
The existing callers of getShadowPtr() and getOriginPtr() are updated to use getShadowOriginPtr().

The rationale for this change is to simplify KMSAN instrumentation implementation.
In KMSAN origins tracking is always enabled, and there's no direct mapping between the app memory and the shadow/origin pages.
Both the shadow and the origin pointer for a given address are obtained by calling a single runtime hook from the instrumentation,
therefore it's easier to work with those pointers together.

Reviewed at https://reviews.llvm.org/D40835.

llvm-svn: 320373
2017-12-11 15:05:22 +00:00
..
Coroutines [coro] Make Spill a proper struct instead of deriving from pair. 2017-10-31 19:22:55 +00:00
Hello
InstCombine [InstCombine] Fix SimplifyDemandedUseBits SHL handling (PR35515) 2017-12-09 23:42:56 +00:00
Instrumentation [MSan] introduce getShadowOriginPtr(). NFC. 2017-12-11 15:05:22 +00:00
IPO Hardware-assisted AddressSanitizer (llvm part). 2017-12-09 00:21:41 +00:00
ObjCARC Modify ModRefInfo values using static inline method abstractions [NFC]. 2017-12-05 20:12:23 +00:00
Scalar Hardware-assisted AddressSanitizer (llvm part). 2017-12-09 00:21:41 +00:00
Utils [SimplifyLibCalls] propagate FMF when folding pow(x, -1.0) call 2017-12-10 17:25:54 +00:00
Vectorize [LV] Interleaved access vectorization: fix computing new alias info 2017-12-06 22:42:24 +00:00
CMakeLists.txt
LLVMBuild.txt