aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2022-02-11 16:11:23 +0100
committerDmitry Vyukov <dvyukov@google.com>2022-02-11 19:39:44 +0100
commit595d340dceca57756210de34feb478559916af54 (patch)
tree39a0030eeaa8491c7f3770ba8936169fad46afff /llvm/unittests/Support/CommandLineTest.cpp
parent3e27fb8590591ff963761136d0e6879e8e081471 (diff)
downloadllvm-595d340dceca57756210de34feb478559916af54.zip
llvm-595d340dceca57756210de34feb478559916af54.tar.gz
llvm-595d340dceca57756210de34feb478559916af54.tar.bz2
sanitizer_common: make internal/external headers compatible
This is a follow up to 4f3f4d672254 ("sanitizer_common: fix __sanitizer_get_module_and_offset_for_pc signature mismatch") which fixes a similar problem for msan build. I am getting the following error compiling a unit test for code that uses sanitizer_common headers and googletest transitively includes sanitizer interface headers: In file included from third_party/gwp_sanitizers/singlestep_test.cpp:3: In file included from sanitizer_common/sanitizer_common.h:19: sanitizer_interface_internal.h:41:5: error: typedef redefinition with different types ('struct __sanitizer_sandbox_arguments' vs 'struct __sanitizer_sandbox_arguments') } __sanitizer_sandbox_arguments; common_interface_defs.h:39:3: note: previous definition is here } __sanitizer_sandbox_arguments; Reviewed By: melver Differential Revision: https://reviews.llvm.org/D119546
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions