diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-04-02 11:06:35 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-04-02 11:06:35 +0000 |
| commit | a55fcd35e9b6777363bb36cf1b204afb68adc36a (patch) | |
| tree | 211cf36f852b9d8d25acfa3898e4269a59f2ef0e /compiler-rt/lib/msan/msan.h | |
| parent | 2c66a22e564feab3674e431700d1932908fba340 (diff) | |
| download | bcm5719-llvm-a55fcd35e9b6777363bb36cf1b204afb68adc36a.tar.gz bcm5719-llvm-a55fcd35e9b6777363bb36cf1b204afb68adc36a.zip | |
[msan] Precise origin handling in __unaligned_(load|store)*.
llvm-svn: 205412
Diffstat (limited to 'compiler-rt/lib/msan/msan.h')
| -rw-r--r-- | compiler-rt/lib/msan/msan.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/msan/msan.h b/compiler-rt/lib/msan/msan.h index 919415e4f04..0293b376323 100644 --- a/compiler-rt/lib/msan/msan.h +++ b/compiler-rt/lib/msan/msan.h @@ -88,6 +88,8 @@ void ReportAtExitStatistics(); void UnpoisonParam(uptr n); void UnpoisonThreadLocalState(); +u32 GetOriginIfPoisoned(uptr a, uptr size); +void SetOriginIfPoisoned(uptr addr, uptr src_shadow, uptr size, u32 src_origin); void CopyOrigin(void *dst, const void *src, uptr size, StackTrace *stack); void MovePoison(void *dst, const void *src, uptr size, StackTrace *stack); void CopyPoison(void *dst, const void *src, uptr size, StackTrace *stack); |

