[PATCH] D59597: [scudo][standalone] Add flags & related parsers

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 20 08:26:44 PDT 2019


cryptoad created this revision.
cryptoad added reviewers: morehouse, hctim, vitalybuka.
Herald added subscribers: Sanitizers, jdoerfert, delcypher, mgorny.
Herald added projects: LLVM, Sanitizers.

As with other Sanitizers, and the current version of Scudo, we can
provide flags in differents way: at compile time, through a weak
function, through an environment variable.

This change adds support for the configuration flags, and the string
parsers. Those are fairly similar to the sanitizer_common way of doing
things.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D59597

Files:
  lib/scudo/standalone/CMakeLists.txt
  lib/scudo/standalone/flags.cc
  lib/scudo/standalone/flags.h
  lib/scudo/standalone/flags.inc
  lib/scudo/standalone/flags_parser.cc
  lib/scudo/standalone/flags_parser.h
  lib/scudo/standalone/interface.h
  lib/scudo/standalone/tests/CMakeLists.txt
  lib/scudo/standalone/tests/flags_test.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59597.191497.patch
Type: text/x-patch
Size: 21293 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190320/e8edf663/attachment.bin>


More information about the llvm-commits mailing list