musllvm

A pure LLVM/Clang cross compiler toolchain targeting musl C
git clone git://git.daat.foo/musllvm.git
Log | Files | Refs | README | LICENSE

0009-compiler-rt-HACK-hwasan-build-on-x86_64.patch (793B)


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