summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/VTableBuilder.cpp
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2014-03-20 12:52:52 +0000
committerAlexander Potapenko <glider@google.com>2014-03-20 12:52:52 +0000
commit1296436cbf3ef2a05e10d485967c4ec6af9db707 (patch)
tree890111d724b07317806098834daccb9bfad08b6e /clang/lib/AST/VTableBuilder.cpp
parentefb1eb981b46fc6a6c089514b9db82a54e0a11cc (diff)
downloadbcm5719-llvm-1296436cbf3ef2a05e10d485967c4ec6af9db707.tar.gz
bcm5719-llvm-1296436cbf3ef2a05e10d485967c4ec6af9db707.zip
[libsanitizer] Introduce flag descriptions.
Extend ParseFlag to accept the |description| parameter, add dummy values for all existing flags. As the flags are parsed their descriptions are stored in a global linked list. The tool can later call __sanitizer::PrintFlagDescriptions() to dump all the flag names and their descriptions. Add the 'help' flag and make ASan, TSan and MSan print the flags if 'help' is set to 1. llvm-svn: 204339
Diffstat (limited to 'clang/lib/AST/VTableBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud