forked from OSchip/llvm-project
Fix the wildcards for two output tests on Darwin.
It turns out that atos does not print the symbol names for static C++ functions correctly (one of the two leading underscores is omitted), so they remain mangled. llvm-svn: 157742
This commit is contained in:
parent
97d7787788
commit
a39c2fec46
|
@ -35,7 +35,12 @@ int main(int argc, char **argv) {
|
|||
// Check-Common: {{.*ERROR: AddressSanitizer heap-buffer-overflow on address}}
|
||||
// Check-Common: {{0x.* at pc 0x.* bp 0x.* sp 0x.*}}
|
||||
// Check-Common: {{READ of size 4 at 0x.* thread T0}}
|
||||
// Check-Common: {{ #0 0x.* in LargeFunction.*large_func_test.cc:15}}
|
||||
|
||||
// atos incorrectly extracts the symbol name for the static functions on
|
||||
// Darwin.
|
||||
// Check-Linux: {{ #0 0x.* in LargeFunction.*large_func_test.cc:15}}
|
||||
// Check-Darwin: {{ #0 0x.* in .*LargeFunction.*large_func_test.cc:15}}
|
||||
|
||||
// Check-Common: {{ #1 0x.* in main .*large_func_test.cc:3[012]}}
|
||||
// Check-Common: {{0x.* is located 44 bytes to the right of 400-byte region}}
|
||||
// Check-Common: {{allocated by thread T0 here:}}
|
||||
|
|
|
@ -10,8 +10,9 @@ int main() {
|
|||
// Check-Common: {{0x0*00028 .*pc 0x.*}}
|
||||
// Check-Common: {{AddressSanitizer can not provide additional info. ABORTING}}
|
||||
|
||||
// atos on Mac cannot resolve the file:line info for frame 0 on the O1 level
|
||||
// atos on Mac cannot resolve the file:line info for frame 0 on the O1 level.
|
||||
// It also can't extract the symbol name correctly.
|
||||
// Check-Linux: {{ #0 0x.* in NullDeref.*null_deref.cc:3}}
|
||||
// Check-Darwin: {{ #0 0x.* in NullDeref.*}}
|
||||
// Check-Darwin: {{ #0 0x.* in .*NullDeref.*}}
|
||||
|
||||
// Check-Common: {{ #1 0x.* in main.*null_deref.cc:[67]}}
|
||||
|
|
Loading…
Reference in New Issue