Displaying 2 results from an estimated 2 matches for "sparctargetelfstreamer".
2014 Mar 10
2
[LLVMdev] A bug or a feature?
...raw_ostream &OS, MCCodeEmitter
*Emitter,
const MCSubtargetInfo &STI, bool
RelaxAll,
bool NoExecStack) {
MCStreamer *S =
createELFStreamer(Context, MAB, OS, Emitter, RelaxAll, NoExecStack);
new SparcTargetELFStreamer(*S);
1 Memory is allocated ?
return S;
2 ? Potential memory leak
}
Have not got why is this SparcTargetELFStreamer created dynamically and
not assigned.
Can anybody please explain is this a trick or a trouble?
The similar pattern was detected in
lib/Targe...
2014 Mar 10
3
[LLVMdev] MCJIT problem on native 'ppc64' target
I am having an issue with MCJIT on the ppc64 machine architecture.
The symptom is that for a particular IR function the target machine
won't emit neither an object nor an assembly file and subsequent
calling the pointer to function results in a segfault.
My application generates on the fly several functions with the builder
and executes them with the MCJIT engine. I came across this