[clang] [HIP] Support compressing device binary (PR #67162)

via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 5 01:05:01 PDT 2023


mikaelholmen wrote:

Hi,

I noticed that with UBSan this new testcase fails
```
09:59:08 Failed Tests (1):
09:59:08   Clang :: Driver/clang-offload-bundler-zlib.c
```
with
```
09:39:53 ../../clang/lib/Driver/OffloadBundler.cpp:1012:25: runtime error: load of misaligned address 0x55ceca16e46c for type 'const uint64_t' (aka 'const unsigned long'), which requires 8 byte alignment
09:39:53 0x55ceca16e46c: note: pointer points here
09:39:53   bc 00 00 00 94 dc 29 9a  89 fb ca 2b 78 9c 8b 8f  77 f6 71 f4 73 8f f7 77  73 f3 f1 77 74 89 77 0a
09:39:53               ^ 
09:39:53 SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../../clang/lib/Driver/OffloadBundler.cpp:1012:25 in 
```

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


More information about the cfe-commits mailing list