================ @@ -0,0 +1,4 @@ +CXX_SOURCES := main.cpp +CXXFLAGS_EXTRAS := -fsanitize=address -g ---------------- da-viper wrote:
```suggestion CXXFLAGS_EXTRAS := -fsanitize=address -g LD_EXTRAS := -fsanitize=address ``` Doesn't compile on linux as it could not find the asan symbols. works fine if it was a c file as the `CFLAGS_EXTRAS` is passed to `LDFLAGS` see https://github.com/llvm/llvm-project/blob/5d01a0ad3d599df56d902b418e1a7eaf3f84db42/lldb/packages/Python/lldbsuite/test/make/Makefile.rules#L342 It wasn't caught in the PR ci because it is not run with `compiler_rt` enabled. https://github.com/llvm/llvm-project/pull/178858 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
