[PATCH] D95542: [scudo][standalone] Restore GWP-ASan flag parsing

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 27 09:55:28 PST 2021


cryptoad created this revision.
cryptoad added reviewers: mcgrathr, hctim, eugenis, pcc, cferris.
Herald added a subscriber: mgorny.
cryptoad requested review of this revision.
Herald added a project: Sanitizers.
Herald added a subscriber: Sanitizers.

With D92696 <https://reviews.llvm.org/D92696>, the Scudo Standalone GWP-ASan flag parsing was changed to
the new GWP-ASan optional one. We do not necessarily want this, as this
duplicates flag parsing code in Scudo Standalone when using the
GWP-ASan integration.

This CL reverts the changes within Scudo Standalone, and increases
`MaxFlags` to 20 as an addionnal option got us to the current max.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95542

Files:
  compiler-rt/lib/scudo/standalone/CMakeLists.txt
  compiler-rt/lib/scudo/standalone/combined.h
  compiler-rt/lib/scudo/standalone/flags.cpp
  compiler-rt/lib/scudo/standalone/flags_parser.h
  compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
  compiler-rt/lib/scudo/standalone/tests/flags_test.cpp
  compiler-rt/test/scudo/standalone/unit/lit.site.cfg.py.in

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95542.319608.patch
Type: text/x-patch
Size: 5677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210127/9334277b/attachment.bin>


More information about the llvm-commits mailing list