Re: [PATCH v3 1/3] arc: Add ARCv2 XML target along with refactoring

Christian Biesinger
2020-07-15T21:23:51Z

On Wed, Jul 15, 2020 at 3:35 PM Shahab Vahedi via Gdb-patches
<gdb-patches@sourceware.org> wrote:
> No, I haven't built it with AddressSanitizer. Could you point me in the right
> direction how I can use it?

I'm not Simon, but--

To enable asan, just add it to CXXFLAGS, like:
../configure --enable-targets=all CXXFLAGS="-g -fsanitize=address"
CLAGS="-g -fsanitize=address"

Some documentation at https://github.com/google/sanitizers/wiki/AddressSanitizer

I thought someone had added a configure option for it, but for now it
looks like there's only --enable-ubsan

Christian