[cfe-dev] asan support on arm(not android)

Kostya Serebryany via cfe-dev cfe-dev at lists.llvm.org
Mon Dec 4 11:11:26 PST 2017

I've recently compiled llvm trunk on arm64-ubuntu-zesty and asan seems to
just work on a simple test:

./bin/clang++ -fsanitize=address
 ~/llvm/projects/compiler-rt/test/asan/TestCases/use-after-free.cc -g

==24599==ERROR: AddressSanitizer: heap-use-after-free on address
0xffff979007b5 at pc 0x0000004fd068 bp 0xffffcdfd53b0 sp 0xffffcdfd53c8
READ of size 1 at 0xffff979007b5 thread T0


but I frankly don't know who actually supports this configuration (my team


On Fri, Dec 1, 2017 at 11:51 PM, Chunseok Lee via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> Hello
> Clang address sanitizer supports arm linux? The latest document says that
> only android is supported for arm device.
> Is there any way to run asan on arm linux like rpi?
> Thank you in advance.
> BR,
> Chunseok Lee
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20171204/54263e92/attachment.html>

More information about the cfe-dev mailing list