]> granicus.if.org Git - llvm/commit
[MSan] factor userspace-specific declarations into createUserspaceApi(). NFC
authorAlexander Potapenko <glider@google.com>
Mon, 16 Jul 2018 10:03:30 +0000 (10:03 +0000)
committerAlexander Potapenko <glider@google.com>
Mon, 16 Jul 2018 10:03:30 +0000 (10:03 +0000)
commit0f2a60eba6d759d7b51a0417754c07f324ae8d7b
tree06eba8d64b130ee620096c3b8f85c4e8c96e207e
parent249b255c78894df5504aff2ecbd3c7a9aabfb4ef
[MSan] factor userspace-specific declarations into createUserspaceApi(). NFC

This patch introduces createUserspaceApi() that creates function/global
declarations for symbols used by MSan in the userspace.
This is a step towards the upcoming KMSAN implementation patch.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337155 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/MemorySanitizer.cpp