diff options
author | Greg Clayton <gclayton@apple.com> | 2012-08-30 21:21:24 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-08-30 21:21:24 +0000 |
commit | 0274766be5914317cb4947fa169dbe55ff4aec6b (patch) | |
tree | 032a41974aa16850cb73fd5cb246294bd1984fd9 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5e2f0b2151169ba75bf90263bd51a2cb5cfcd4ca (diff) | |
download | llvm-0274766be5914317cb4947fa169dbe55ff4aec6b.zip llvm-0274766be5914317cb4947fa169dbe55ff4aec6b.tar.gz llvm-0274766be5914317cb4947fa169dbe55ff4aec6b.tar.bz2 |
Added the ability to verify the LLDB API on MacOSX using a script. Usage is:
./verify_api.py --library ./LLDB.framework/LLDB --api-regex lldb --arch x86_64 /Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB
So you specify a library with the "--library" option, then you specify an API regular expression that you want to match the executables against with "--api-regex <regex>", here we specify "lldb" to catch all undefined external API functions from the binary we want to test, then we specify the architectures to check with "--arch <arch>" (this can be specified more than once), and you give one or more executables.
llvm-svn: 162941
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions