[compiler-rt] 75103aa - Added include of common interfaces (#111374)

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 14:28:22 PDT 2024


Author: gbMattN
Date: 2024-10-07T14:28:19-07:00
New Revision: 75103aae4a9d22e2c46068f2160f2dddd6ad2116

URL: https://github.com/llvm/llvm-project/commit/75103aae4a9d22e2c46068f2160f2dddd6ad2116
DIFF: https://github.com/llvm/llvm-project/commit/75103aae4a9d22e2c46068f2160f2dddd6ad2116.diff

LOG: Added include of common interfaces (#111374)

Pull request for issue #110823 
Including the file which defines the macros we use here. This would let
user code only include this interface, rather than having to include two
files.

Added: 
    

Modified: 
    compiler-rt/include/sanitizer/ubsan_interface.h

Removed: 
    


################################################################################
diff  --git a/compiler-rt/include/sanitizer/ubsan_interface.h b/compiler-rt/include/sanitizer/ubsan_interface.h
index 435eb1ae332cad..30a7fd875043db 100644
--- a/compiler-rt/include/sanitizer/ubsan_interface.h
+++ b/compiler-rt/include/sanitizer/ubsan_interface.h
@@ -13,6 +13,8 @@
 #ifndef SANITIZER_UBSAN_INTERFACE_H
 #define SANITIZER_UBSAN_INTERFACE_H
 
+#include <sanitizer/common_interface_defs.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif


        


More information about the llvm-commits mailing list