Displaying 4 results from an estimated 4 matches for "createasmstreamer".
Did you mean:
createmcasmstreamer
2011 Sep 08
2
[LLVMdev] Bug in TargetRegistry.h?
Hi,
The code @ line 584 of TargetRegistry.h effectively suppresses specifying any
AsmStreamer constructor function but stock createAsmStreamer one. Is it by
intention or condition should be replaced with != ?
Best regards,
Max
2014 Jun 24
2
[LLVMdev] Linking/archiving bitcodes with module asm
...argetStreamer
returns NULL. Frankly, I don't see how this is supposed to work because as
far as I understood LTOModule::addAsmGlobalSymbols only creates a
RecordStreamer which is then attached to the MCTargetAsmParser, and no
TargetStreamer is ever created.
The places that explicitly call createAsmStreamer are only writing assembly
as llvm-mc or cc1as. I've tried to follow that scheme in
addAsmGlobalSymbols but failed. Any ideas?
Andrey
2011 Sep 08
0
[LLVMdev] Bug in TargetRegistry.h?
On Thu, Sep 8, 2011 at 12:12 AM, Max Kazakov <max.kazakov at gmail.com> wrote:
> Hi,
>
> The code @ line 584 of TargetRegistry.h effectively suppresses specifying any
> AsmStreamer constructor function but stock createAsmStreamer one. Is it by
> intention or condition should be replaced with != ?
Hi Max,
are you sure that you have the tip-of-tree version of
include/llvm/Support/TargetRegistry.h?
static void RegisterMCInstrAnalysis(Target &T,
Target::MCInstrAnalysisCtorFnTy...
2011 Sep 08
1
[LLVMdev] Bug in TargetRegistry.h?
Hi Ivan,
Sorry for the confusion - in the latest version it is line 760:
static void RegisterAsmStreamer(Target &T, Target::AsmStreamerCtorTy Fn) {
if (T.AsmStreamerCtorFn == createAsmStreamer)
T.AsmStreamerCtorFn = Fn;
}
Best regards,
Max