The docs in SanitizerSpecialCaseList.rst seem to be outdated.
- "The meaning of * in regular expression for entity names is different - it is treated as in shell wildcarding."
- This is wrong because */foo.c will match /path/to/foo.c instead of just something/foo.c. Instead, * is treated as .* and filepaths are treated as strings.
- I've removed fun:MyFooBar since it made it seem like we could match demangled names.
To confirm these changes, I've extended the profile-filter-new.c test and updated it to use split-file.
is more robust since if %t previously exists as a file (stale file after testing), the new test will fail...
rm -rf %t is also clear that all files in the old directory are removed, so more difficult to reference dangling files after updating tests...
// RUN: rm -rf %t && split-file %s %t && cd %t is common as well to avoid %t/ occurrences...