[llvm-branch-commits] [compiler-rt] [ubsan] Runtime and driver support for local-bounds (PR #120515)

Vitaly Buka via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Dec 18 19:25:27 PST 2024


https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/120515

>From 7492c844abc726abe8e2814661dca1af68fd70cf Mon Sep 17 00:00:00 2001
From: Vitaly Buka <vitalybuka at google.com>
Date: Wed, 18 Dec 2024 19:25:18 -0800
Subject: [PATCH] hwaddress

Created using spr 1.3.4
---
 compiler-rt/test/ubsan/TestCases/Misc/local_bounds.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compiler-rt/test/ubsan/TestCases/Misc/local_bounds.cpp b/compiler-rt/test/ubsan/TestCases/Misc/local_bounds.cpp
index 0ff264bbd6d5b2..cea9afca201af9 100644
--- a/compiler-rt/test/ubsan/TestCases/Misc/local_bounds.cpp
+++ b/compiler-rt/test/ubsan/TestCases/Misc/local_bounds.cpp
@@ -15,7 +15,8 @@ __attribute__((noinline)) void init(S *s) {
   __asm__ __volatile__("" : : "r"(s) : "memory");
 }
 
-__attribute__((noinline, no_sanitize("memory", "address"))) int test(char i) {
+__attribute__((noinline, no_sanitize("memory", "address", "hwaddress"))) int
+test(char i) {
   S a;
   init(&a);
   S b;



More information about the llvm-branch-commits mailing list