Ignore:
Timestamp:
Jan 19, 2019, 2:44:50 PM (4 months ago)
Author:
cameron
Message:

-enable-cache-trace flag; base64 encoding for property kernels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/toolchain/object_cache.cpp

    r6265 r6285  
    107107        fileName.append(moduleId);
    108108        fileName.append(KERNEL_FILE_EXTENSION);
    109 
    110109        auto kernelBuffer = MemoryBuffer::getFile(fileName, -1, false);
     110        if (codegen::TraceObjectCache) {
     111            errs() << "Found cache file: " << moduleId << KERNEL_FILE_EXTENSION << "\n";
     112        }
    111113        if (kernelBuffer) {
    112114            #if LLVM_VERSION_INTEGER < LLVM_VERSION_CODE(4, 0, 0)
     
    201203        WriteBitcodeToFile(H.get(), kernelFile);
    202204        kernelFile.close();
     205        if (codegen::TraceObjectCache) {
     206            errs() << "Wrote cache file: " << moduleId << KERNEL_FILE_EXTENSION << "\n";
     207        }
    203208    }
    204209}
Note: See TracChangeset for help on using the changeset viewer.