[PATCH] D30432: [asan] Print a "PC is at a non-executable memory region" message if that's the case
Kostya Serebryany via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 27 16:40:11 PST 2017
kcc accepted this revision.
kcc added a comment.
This revision is now accepted and ready to land.
LGTM with a nit, nice!
================
Comment at: lib/asan/asan_errors.cc:67
+ !(protection & MemoryMappingLayout::kProtectionExecute))
+ Report("PC is at a non-executable region. Maybe a wild jump?\n");
+ }
----------------
start with "Hint: " as in some other similarplaces
https://reviews.llvm.org/D30432
More information about the llvm-commits
mailing list