diff mbox series

[BlueZ,v2,1/1] bluetooth.ver: Export sanitizer symbols.

Message ID 20221201161502.1067068-2-allenwebb@google.com
State New
Headers show
Series Add missing sanitizers. | expand

Commit Message

Allen Webb Dec. 1, 2022, 4:15 p.m. UTC
Fix llvm sanitizer support by not hidding sanitizer related symbols.
---
 src/bluetooth.ver | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/src/bluetooth.ver b/src/bluetooth.ver
index 214fa8a61..a96fda2a1 100644
--- a/src/bluetooth.ver
+++ b/src/bluetooth.ver
@@ -7,6 +7,14 @@ 
 		debug;
 		baswap;
 		ba2str;
+		/* Don't break LLVM sanitizers */
+		__asan*;
+		__dfsan*;
+		__lsan*;
+		__msan*;
+		__sanitizer*;
+		__tsan*;
+		__ubsan*;
 	local:
 		*;
 };