llvm-project/compiler-rt/lib/ubsan
Dmitry Vyukov 595d340dce sanitizer_common: make internal/external headers compatible
This is a follow up to 4f3f4d6722
("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
2022-02-11 19:39:44 +01:00
..
CMakeLists.txt [gn build] slighly reformat files to make sync script work 2022-01-27 20:09:04 -05:00
ubsan.syms.extra
ubsan_checks.inc
ubsan_diag.cpp ubsan: fix few format string bugs 2021-08-13 13:45:23 +02:00
ubsan_diag.h
ubsan_diag_standalone.cpp [sanitizer] Simplify __sanitizer::BufferedStackTrace::UnwindImpl implementations 2021-05-13 21:26:31 -07:00
ubsan_flags.cpp [sanitizers] Remove unneeded MaybeCall*DefaultOptions() and nullptr checks 2020-09-08 10:12:05 -07:00
ubsan_flags.h [sanitizers] Remove unneeded MaybeCall*DefaultOptions() and nullptr checks 2020-09-08 10:12:05 -07:00
ubsan_flags.inc
ubsan_handlers.cpp
ubsan_handlers.h
ubsan_handlers_cxx.cpp
ubsan_handlers_cxx.h [NFC] Fix endif comments to match with include guard 2022-01-07 15:52:59 +08:00
ubsan_init.cpp sanitizer_common: make internal/external headers compatible 2022-02-11 19:39:44 +01:00
ubsan_init.h
ubsan_init_standalone.cpp
ubsan_init_standalone_preinit.cpp
ubsan_interface.inc Update ubsan_interface.inc for D71491 (second try) 2020-07-14 11:16:11 -07:00
ubsan_monitor.cpp [sanitizer] Remove max_len parameter from InternalScopedString 2021-03-17 16:57:09 -07:00
ubsan_monitor.h
ubsan_platform.h [asan] Remove Asan, Ubsan support of RTEMS and Myriad 2021-06-15 12:59:05 -07:00
ubsan_signals_standalone.cpp
ubsan_signals_standalone.h
ubsan_type_hash.cpp
ubsan_type_hash.h
ubsan_type_hash_itanium.cpp [compiler-rt] [ubsan] Use the itanium type info lookup for mingw targets 2020-11-03 09:59:08 +02:00
ubsan_type_hash_win.cpp [compiler-rt] [ubsan] Use the itanium type info lookup for mingw targets 2020-11-03 09:59:08 +02:00
ubsan_value.cpp Fix UBSAN in __ubsan::Value::getSIntValue 2021-02-23 11:10:21 +01:00
ubsan_value.h
ubsan_win_dll_thunk.cpp
ubsan_win_dynamic_runtime_thunk.cpp
ubsan_win_weak_interception.cpp
weak_symbols.txt