[compiler-rt] [llvm] [HWASan][Fuchsia] Have Fuchsia use a dynamic shadow start (PR #180881)

Petr Hosek via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 11 10:49:57 PST 2026


================
@@ -46,12 +46,17 @@ bool InitShadow() {
   __sanitizer::InitShadowBounds();
   CHECK_NE(__sanitizer::ShadowBounds.shadow_limit, 0);
 
+  __hwasan_shadow_memory_dynamic_address = 0;
----------------
petrhosek wrote:

I'd leave a `TODO` comment here to explain that this is a temporary and in the future there'll be a way to configure the shadow memory address.

https://github.com/llvm/llvm-project/pull/180881


More information about the llvm-commits mailing list