Skip to content

instrument pass fails on Cellular-Automata benchmark #57

Open

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.

Activity

  1. nankmr2012 commented on Aug 2, 2016

    @nankmr2012
    Contributor

    @cclinus
    Hi Justin,
    Please let me know how did you compiled to .ll ? It is giving me error though during make.
    Can you please share the instruction or send me the .ll file

    Thanks
    Nanda Kumar

  2. huang429 commented on Jul 21, 2021

    @huang429

    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.

    I have met similar questions using parboil-bfs benchmark.Have you figure out that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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