[compiler-rt] Added include of common interfaces (PR #111374)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 7 06:05:45 PDT 2024
https://github.com/gbMattN created https://github.com/llvm/llvm-project/pull/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.
>From 2d58893a20bcf95b6a0e41f19a8c79dbb2ab298f Mon Sep 17 00:00:00 2001
From: Nagy <Matthew.Nagy at sony.com>
Date: Mon, 7 Oct 2024 13:26:00 +0100
Subject: [PATCH] Added include of common interfaces
---
compiler-rt/include/sanitizer/ubsan_interface.h | 2 ++
1 file changed, 2 insertions(+)
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