[msan] Add lit test for dladdr
authorThurston Dang <thurston@google.com>
Fri, 30 Jun 2023 20:18:53 +0000 (20:18 +0000)
committerThurston Dang <thurston@google.com>
Fri, 30 Jun 2023 20:52:49 +0000 (20:52 +0000)
commit850daa51f0b75c96af821ae9d4da5ec69f52e1c1
tree35385e8a039d28387a8830d2bceb3317bc8bd15c
parentbf17b08b45413529bf8a4e872aaf2374e495b861
[msan] Add lit test for dladdr

This adds a simple lit test for dladdr. (There is currently a dladdr testcase in
compiler-rt/lib/msan/tests/msan_test.cpp, but not a stand-alone lit test.)

This is an incremental step towards adding a test case (and, eventually, an interceptor)
for the more complicated dladdr1 function.

Differential Revision: https://reviews.llvm.org/D154255
compiler-rt/test/msan/dladdr_test.c [new file with mode: 0644]