Displaying 2 results from an estimated 2 matches for "trace_outfil".
Did you mean:
trace_outfile
2019 Jan 26
2
How to debug .ll file with segmentation fault?
Hi,
I edited a working .ll file and llvm-as it to a .bc file. But it
causes segmentation fault. I don't know how to debug such errors.
Could anybody show me the best way to debug such errors? Thanks.
$ TRACE_OUTFILE=/tmp/trace.txt lli /tmp/y/bash_trcr.bc --norc
__trace_init
LLVMSymbolizer: error reading file: No such file or directory
#0 0x00007f162b1ee0ea llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/lib/llvm-6.0/bin/../lib/libLLVM-6.0.so.1+0x81e0ea)
#1 0x00007f162b1ec366 llvm::sys::RunSignalHandl...
2019 Jan 26
3
How to debug .ll file with segmentation fault?
...lists.llvm.org> wrote:
>
>> Hi,
>>
>> I edited a working .ll file and llvm-as it to a .bc file. But it
>> causes segmentation fault. I don't know how to debug such errors.
>> Could anybody show me the best way to debug such errors? Thanks.
>>
>> $ TRACE_OUTFILE=/tmp/trace.txt lli /tmp/y/bash_trcr.bc --norc
>> __trace_init
>> LLVMSymbolizer: error reading file: No such file or directory
>> #0 0x00007f162b1ee0ea llvm::sys::PrintStackTrace(llvm::raw_ostream&)
>> (/usr/lib/llvm-6.0/bin/../lib/libLLVM-6.0.so.1+0x81e0ea)
>> #1...