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/toolchain/toolchain.h

    r5464 r5486  
    3636bool DebugOptionIsSet(const DebugFlags flag);
    3737
    38 extern bool pipelineParallel;
    39 extern bool segmentPipelineParallel;
     38extern bool PipelineParallel;
     39extern bool SegmentPipelineParallel;
    4040#ifndef USE_LLVM_3_6
    41 extern const std::string ASMOutputFilename;
     41extern const char * ASMOutputFilename;
    4242#endif
    43 extern const std::string IROutputFilename;
    44 extern const std::string ObjectCacheDir;
    45 extern const llvm::CodeGenOpt::Level OptLevel;  // set from command line
     43extern const char * IROutputFilename;
     44extern const char * ObjectCacheDir;
     45extern llvm::CodeGenOpt::Level OptLevel;  // set from command line
    4646extern int BlockSize;  // set from command line
    4747extern int SegmentSize;  // set from command line
    4848extern int BufferSegments;
    4949extern int ThreadNum;
    50 extern const bool EnableObjectCache;
     50extern bool EnableObjectCache;
    5151extern bool EnableAsserts;
    5252extern bool EnableCycleCounter;
    5353extern bool NVPTX;
    5454extern int GroupNum;
    55 extern const llvm::TargetOptions Options;
     55extern std::string ProgramName;
     56extern llvm::TargetOptions Options;
    5657extern const llvm::Reloc::Model RelocModel;
    5758extern const llvm::CodeModel::Model CMModel;
     
    6667void setFunctionAttributes(llvm::StringRef CPU, llvm::StringRef Features, llvm::Module &M);
    6768
     69void ParseCommandLineOptions(int argc, const char *const *argv, std::initializer_list<const llvm::cl::OptionCategory *> hiding = {});
     70
    6871}
    69 
    70 
    71 void setNVPTXOption();
    7272
    7373void AddParabixVersionPrinter();
Note: See TracChangeset for help on using the changeset viewer.