Skip to content

instrument pass fails on Cellular-Automata benchmark #57

@cclinus

Description

@cclinus

Compiled C code to IR in https://github.com/logan-j/Cellular-Automata/tree/master

Then run instrument from currenct version of LLFI, it gives:


terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
Stack dump:
0. Program arguments: /data/gpli/llvm-2.9-build/bin/opt -load /data/gpli/LLFI-BUILD/bin/../llvm_passes/llfi-passes.so -profilingpass -insttype -includeinst=all -excludeinst=ret -excludeinst=alloca -excludeinst=call -regloc -dstreg -o /data/gpli/workplace/benchmarks/cellular_automata/llfi/life_final-profiling.ll /data/gpli/workplace/benchmarks/cellular_automata/llfi/life_final-llfi_index.ll -S

  1.  Running pass 'Profiling pass' on module '/data/gpli/workplace/benchmarks/cellular_automata/llfi/life_final-llfi_index.ll'.
    

ERROR: there was an error during running the instrumentation pass, please follow the provided instructions for instrument.


Contact me to get the compiled IR as I can not upload file here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions