MaskRay wrote: * https://reviews.llvm.org/D65029 added `-fno-sanitize-link-runtime` for kernel-like scenarios with custom runtime. * Patches related to https://reviews.llvm.org/D122407 link in `--whole-archive libclang_rt.asan_static.a --no-whole-archive` and define symbols like `__asan_report_store1_asm` (unless `--gc-sections` and `-asan-optimize-callbacks` is unused), which can be regarded as undesired.
I agree that `-fno-sanitize-link-runtime` skip `libclang_rt.asan_static.a` as well. https://github.com/llvm/llvm-project/pull/66414 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits