Ignore:
Timestamp:
May 31, 2017, 4:25:33 PM (2 years ago)
Author:
nmedfort
Message:

Initial attempt to improve debugging capabilities with compilation stack traces on error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/grep_interface.cpp

    r5484 r5486  
    245245void InitializeCommandLineInterface(int argc, char *argv[]) {
    246246    llvm::install_fatal_error_handler(&icgrep_error_handler);
    247     AddParabixVersionPrinter();
    248 #ifndef USE_LLVM_3_6
    249     cl::HideUnrelatedOptions(ArrayRef<const cl::OptionCategory *>{&RE_Options, &Input_Options, &Output_Options, re::re_toolchain_flags(), pablo::pablo_toolchain_flags(), codegen::codegen_flags()});
    250 #endif
    251     cl::ParseCommandLineOptions(argc, argv);
     247    codegen::ParseCommandLineOptions(argc, argv, {&RE_Options, &Input_Options, &Output_Options, re::re_toolchain_flags(), pablo::pablo_toolchain_flags(), codegen::codegen_flags()});
    252248    if (RecursiveFlag || DereferenceRecursiveFlag) {
    253249        DirectoriesFlag = Recurse;
Note: See TracChangeset for help on using the changeset viewer.