Displaying 6 results from an estimated 6 matches for "cbe_bug".
2008 Nov 02
2
[LLVMdev] Debugging lli using bugpoint
...with -Xlinker="-ldl ". However it does not
seem to make a difference. It seems that when bugpoint is run with
--run-jit, the linker args are not passed to gcc (from
tools/bugpoint/ExecutionDriver.cpp) :
if (InterpreterSel == RunLLC || InterpreterSel == RunCBE ||
InterpreterSel == CBE_bug || InterpreterSel == LLC_Safe)
RetVal = AI->ExecuteProgram(BitcodeFile, InputArgv, InputFile,
OutputFile, AdditionalLinkerArgs,
SharedObjs,
Timeout, MemoryLimit);
else
RetVal = AI->ExecuteProgram(BitcodeFile, InputA...
2008 Nov 04
4
[LLVMdev] Debugging lli using bugpoint
...ot;. However it does not
> seem to make a difference. It seems that when bugpoint is run with
> --run-jit, the linker args are not passed to gcc (from
> tools/bugpoint/ExecutionDriver.cpp) :
>
> if (InterpreterSel == RunLLC || InterpreterSel == RunCBE ||
> InterpreterSel == CBE_bug || InterpreterSel == LLC_Safe)
>
> RetVal = AI->ExecuteProgram(BitcodeFile, InputArgv, InputFile,
> OutputFile, AdditionalLinkerArgs,
> SharedObjs,
> Timeout, MemoryLimit);
>
> else
>
>
> RetV...
2008 Nov 03
0
[LLVMdev] Debugging lli using bugpoint
...owever it does
> not seem to make a difference. It seems that when bugpoint is run
> with --run-jit, the linker args are not passed to gcc (from tools/
> bugpoint/ExecutionDriver.cpp) :
>
> if (InterpreterSel == RunLLC || InterpreterSel == RunCBE ||
> InterpreterSel == CBE_bug || InterpreterSel == LLC_Safe)
>
> RetVal = AI->ExecuteProgram(BitcodeFile, InputArgv, InputFile,
> OutputFile, AdditionalLinkerArgs,
> SharedObjs,
> Timeout, MemoryLimit);
>
> else
>
>
> Re...
2008 Nov 11
0
[LLVMdev] Debugging lli using bugpoint
...s not seem to make a difference. It seems that when bugpoint is
>> run with --run-jit, the linker args are not passed to gcc (from
>> tools/bugpoint/ExecutionDriver.cpp) :
>>
>> if (InterpreterSel == RunLLC || InterpreterSel == RunCBE ||
>> InterpreterSel == CBE_bug || InterpreterSel == LLC_Safe)
>>
>> RetVal = AI->ExecuteProgram(BitcodeFile, InputArgv, InputFile,
>> OutputFile, AdditionalLinkerArgs,
>> SharedObjs,
>> Timeout, MemoryLimit);
>>
>>...
2008 Oct 28
0
[LLVMdev] Debugging lli using bugpoint
On Tue, Oct 28, 2008 at 12:17 PM, Prakash Prabhu
<prakash.prabhu at gmail.com> wrote:
> Generating reference output from raw program: <cbe><gcc>
> Error running tool:
[snip]
> /tmp/cc08IpX8.o: In function `SyLoadModule':
> bugpoint-test-program.bc.cbe.c:(.text+0x25705): undefined reference to
> `dlopen'
[snip]
This is saying that compilation with CBE is
2008 Oct 28
2
[LLVMdev] Debugging lli using bugpoint
Hi,
I have a program that runs when statically compiled using llc and gcc but
crashes with a segmentation fault when run with lli. I am trying to debug it
with bugpoint and the initial part of bugpoint seems to be suggesting that I
am somehow missing the linking with the libraries having dlsym/dlopen
although I am passing it to lli :
*$ bugpoint -run-jit