diff options
Diffstat (limited to 'llvm/tools/llvm-cxxmap/llvm-cxxmap.cpp')
-rw-r--r-- | llvm/tools/llvm-cxxmap/llvm-cxxmap.cpp | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/llvm/tools/llvm-cxxmap/llvm-cxxmap.cpp b/llvm/tools/llvm-cxxmap/llvm-cxxmap.cpp index c5ccd64..6eb193a 100644 --- a/llvm/tools/llvm-cxxmap/llvm-cxxmap.cpp +++ b/llvm/tools/llvm-cxxmap/llvm-cxxmap.cpp @@ -25,30 +25,31 @@ using namespace llvm; -cl::OptionCategory CXXMapCategory("CXX Map Options"); - -cl::opt<std::string> OldSymbolFile(cl::Positional, cl::Required, - cl::desc("<symbol-file>"), - cl::cat(CXXMapCategory)); -cl::opt<std::string> NewSymbolFile(cl::Positional, cl::Required, - cl::desc("<symbol-file>"), - cl::cat(CXXMapCategory)); -cl::opt<std::string> RemappingFile("remapping-file", cl::Required, - cl::desc("Remapping file"), - cl::cat(CXXMapCategory)); -cl::alias RemappingFileA("r", cl::aliasopt(RemappingFile), - cl::cat(CXXMapCategory)); -cl::opt<std::string> OutputFilename("output", cl::value_desc("output"), - cl::init("-"), cl::desc("Output file"), - cl::cat(CXXMapCategory)); -cl::alias OutputFilenameA("o", cl::aliasopt(OutputFilename), - cl::cat(CXXMapCategory)); - -cl::opt<bool> WarnAmbiguous( +static cl::OptionCategory CXXMapCategory("CXX Map Options"); + +static cl::opt<std::string> OldSymbolFile(cl::Positional, cl::Required, + cl::desc("<symbol-file>"), + cl::cat(CXXMapCategory)); +static cl::opt<std::string> NewSymbolFile(cl::Positional, cl::Required, + cl::desc("<symbol-file>"), + cl::cat(CXXMapCategory)); +static cl::opt<std::string> RemappingFile("remapping-file", cl::Required, + cl::desc("Remapping file"), + cl::cat(CXXMapCategory)); +static cl::alias RemappingFileA("r", cl::aliasopt(RemappingFile), + cl::cat(CXXMapCategory)); +static cl::opt<std::string> OutputFilename("output", cl::value_desc("output"), + cl::init("-"), + cl::desc("Output file"), + cl::cat(CXXMapCategory)); +static cl::alias OutputFilenameA("o", cl::aliasopt(OutputFilename), + cl::cat(CXXMapCategory)); + +static cl::opt<bool> WarnAmbiguous( "Wambiguous", cl::desc("Warn on equivalent symbols in the output symbol list"), cl::cat(CXXMapCategory)); -cl::opt<bool> WarnIncomplete( +static cl::opt<bool> WarnIncomplete( "Wincomplete", cl::desc("Warn on input symbols missing from output symbol list"), cl::cat(CXXMapCategory)); |