search for: gettargetexternalsymbol

Displaying 1 result from an estimated 1 matches for "gettargetexternalsymbol".

2016 Oct 29
1
Problems with Inline ASM expressions generated in the back end
...lvm::MachineFunction&) /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:662:0 My code that creates an inline ASM expression (in ConnexISelDAGToDAG.cpp, method Select) looks something like this: /* IMPORTANT: it seems we must malloc the char * that is passed to getTargetExternalSymbol as a reference, so we must make sure the value persists after we get out of this function. Hopefully no leak will happen either - maybe when deleting SDNode the destructor frees the char *. // This seems to be so because of this...