Displaying 2 results from an estimated 2 matches for "avose".
Did you mean:
arose
2016 May 23
0
Using an MCStreamer Directly to produce an object file?
2016 May 21
1
Using an MCStreamer Directly to produce an object file?
...x);
std::unique_ptr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo());
std::unique_ptr<MCSubtargetInfo>
STI(TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr));
OK, that seems, OK. Now I want to setup an output buffer:
std::string ofile("/home/users/avose/hpcgp/hpcgp_rundir/tmp.o");
std::unique_ptr<tool_output_file> Out = GetOutputStream(ofile);
if (!Out) {
return 1;
}
std::unique_ptr<buffer_ostream> BOS;
raw_pwrite_stream *OS = &Out->os();
if (!Out->os().supportsSeeking()) {
BOS = make_unique<buffer...