diff options
| author | Alexander Potapenko <glider@google.com> | 2018-03-28 10:17:17 +0000 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2018-03-28 10:17:17 +0000 |
| commit | e1d58778475e89d1b2c3a9de174716a2236e3570 (patch) | |
| tree | caf4b70a39403f8a28abca1026f72767fb7523f2 /llvm/lib/Target/XCore/XCoreMachineFunctionInfo.h | |
| parent | a1e77c0e025a476adc7db99ad5c680099b0680f5 (diff) | |
| download | bcm5719-llvm-e1d58778475e89d1b2c3a9de174716a2236e3570.tar.gz bcm5719-llvm-e1d58778475e89d1b2c3a9de174716a2236e3570.zip | |
[MSan] Add an isStore argument to getShadowOriginPtr(). NFC
This is a step towards the upcoming KMSAN implementation patch.
The isStore argument is to be used by getShadowOriginPtrKernel(),
it is ignored by getShadowOriginPtrUserspace().
Depending on whether a memory access is a load or a store, KMSAN
instruments it with different functions, __msan_metadata_ptr_for_load_X()
and __msan_metadata_ptr_for_store_X().
Those functions may return different values for a single address,
which is necessary in the case the runtime library decides to ignore
particular accesses.
llvm-svn: 328692
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreMachineFunctionInfo.h')
0 files changed, 0 insertions, 0 deletions

