This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] [ASAN] Enabling ASAN for AArch64 Architecture
Needs ReviewPublic

Authored by sdkie on May 12 2015, 4:03 AM.

Details

Reviewers
kcc
enefaim

Diff Detail

Event Timeline

sdkie updated this revision to Diff 25572.May 12 2015, 4:03 AM
sdkie retitled this revision from to [AArch64] [ASAN] Enabling ASAN for AArch64 Architecture.
sdkie updated this object.
sdkie edited the test plan for this revision. (Show Details)
sdkie added a reviewer: kcc.
sdkie set the repository for this revision to rL LLVM.
sdkie added a subscriber: Unknown Object (MLST).

Hi Kumar,

This seems to be the patch that was flying around to enable ASAN on AArch64. Which board have you tested it? We need it to work at least on a Juno, which is where our buildbot runs.

cheers,
--renato

sdkie added a comment.May 12 2015, 5:04 AM

Hi Kumar,

This seems to be the patch that was flying around to enable ASAN on AArch64. Which board have you tested it? We need it to work at least on a Juno, which is where our buildbot runs.

cheers,
--renato

I have tested it on HiKey board.

rengolin added a subscriber: enefaim.

Right, HiKey is still non-standard, but it's good to know that this is working there, too.

@enefaim

Gabor, can you run this on your Juno, just to make sure we're not missing anything (again)?

Thanks!
-renato

@enefaim: Did you got time to test ASAN on Juno?

enefaim edited edge metadata.May 28 2015, 9:02 AM

Hi Kumar, Renato,

Sorry guys, I didn't get any notification about this diff.
I'm going to set the Juno up for testing this change tomorrow.

Best regards,
Gabor Ballabas

Hi guys,

I tested the patch on our Juno board, and we still have issues.
These tests are stuck in an infinite loop since Friday, when I started the test-runner:

  • stage1/projects/compiler-rt/test/asan/AARCH64LinuxConfig/TestCases/Linux/Output/quarantine_size_mb.cc.tmp
  • stage1/projects/compiler-rt/test/sanitizer_common/asan-aarch64-Linux/Linux/Output/hard_rss_limit_mb_test.cc.tmp
  • stage1/projects/compiler-rt/test/asan/AARCH64LinuxConfig/TestCases/Output/current_allocated_bytes.cc.tmp
  • stage1/projects/compiler-rt/lib/asan/tests/default/Asan-aarch64-with-calls-Test --gtest_filter=AddressSanitizer.ManyThreadsTest

Best regards,
Gabor Ballabas