[ASan] Add a regression test for r240960 (https://crbug.com/502974)
authorAlexander Potapenko <glider@google.com>
Tue, 30 Jun 2015 15:18:03 +0000 (15:18 +0000)
committerAlexander Potapenko <glider@google.com>
Tue, 30 Jun 2015 15:18:03 +0000 (15:18 +0000)
commit5e70fb13de22b4fa33d2dcb40871137215ff4898
treef855a8895e9c1677d70a3ee9a018863250cad23f
parent184d4df4d7adbf1813b990ee8acdc15fb2705747
[ASan] Add a regression test for r240960 (https://crbug.com/502974)

The test simulates a sandbox that prevents the program from calling readlink().
ASan is supposed to still be able to print the executable name regardless of that.

llvm-svn: 241072
compiler-rt/test/asan/TestCases/Linux/read_binary_name_regtest.c [new file with mode: 0644]