Displaying 2 results from an estimated 2 matches for "llinst".
Did you mean:
ldinst
2016 May 21
1
Using an MCStreamer Directly to produce an object file?
...sing the context I had set up before, so, something like:
const llvm::Twine tname("my_label_name");
llvm::MCSymbol* mcs = Ctx.getOrCreateSymbol(tname);
Str->EmitLabel(mcs);
Or even something more complicated like setting up an MCInst and all
it's operands:
llvm::MCInst *llinst = new MCInst();
llinst->setOpcode(input_opcode);
llinst->addOperand(llvm::MCOperand::createReg(input_reg0));
llinst->addOperand(llvm::MCOperand::createReg(input_reg1));
const llvm::Twine tname("label_name");
const llvm::MCSymbol* mcs = Ctx.getOrCreateSymbol(tname);
co...
2016 May 23
0
Using an MCStreamer Directly to produce an object file?