musllvm/patches/llvm/0009-compiler-rt-HACK-hwasan-build-on-x86_64.patch
cowmonk 6110995cfb Initial stub of a Makefile and patches for LLVM
Nothing much, but getting some patches from chimera linux that should
work.
2025-10-25 16:23:17 -07:00

25 lines
793 B
Diff

From 104af6e2a6816af2448c668ab58d3dd28771e90a Mon Sep 17 00:00:00 2001
From: q66 <q66@chimera-linux.org>
Date: Wed, 6 Apr 2022 00:58:39 +0200
Subject: [PATCH 09/29] compiler-rt: HACK: hwasan build on x86_64
---
compiler-rt/lib/hwasan/hwasan_exceptions.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler-rt/lib/hwasan/hwasan_exceptions.cpp b/compiler-rt/lib/hwasan/hwasan_exceptions.cpp
index bf700bf56..2c1f1b173 100644
--- a/compiler-rt/lib/hwasan/hwasan_exceptions.cpp
+++ b/compiler-rt/lib/hwasan/hwasan_exceptions.cpp
@@ -14,7 +14,7 @@
#include "hwasan_poisoning.h"
#include "sanitizer_common/sanitizer_common.h"
-#include <unwind.h>
+#include "../../../clang/lib/Headers/unwind.h"
using namespace __hwasan;
using namespace __sanitizer;
--
2.49.0