[PATCH] D152762: [clang][docs] Update SanitizerSpecialCaseList docs

Ellis Hoag via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 12 17:16:36 PDT 2023


ellis created this revision.
Herald added a project: All.
ellis retitled this revision from "[clang][docs] Update Sanitizer docs and test" to "[clang][docs] Update SanitizerSpecialCaseList docs".
ellis edited the summary of this revision.
ellis added reviewers: vlad.tsyrklevich, MaskRay.
ellis published this revision for review.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

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`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152762

Files:
  clang/docs/SanitizerSpecialCaseList.rst
  clang/test/CodeGen/profile-filter-new.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152762.530723.patch
Type: text/x-patch
Size: 5763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230613/c243604d/attachment.bin>


More information about the cfe-commits mailing list