Displaying 5 results from an estimated 5 matches for "registerasmstreamer".
2010 Sep 18
2
[LLVMdev] Non-standard labels
...t this is too
painful. I can think of two solutions:
1) add AsmPrinter::EmitLabel which calls Streamer by default but may
be overriden in target AsmPrinters
2) Register my own instance of MCStreamer which delegates all calls
(except EmitLabel) to MCAsmStreamer. For this I will probably need to
add RegisterAsmStreamer in TargetRegistry.h...
Which one is the best? Or maybe I have overlooked some easier solution?
-Yuri Gribov
2010 Sep 18
0
[LLVMdev] Non-standard labels
...hink of two solutions:
>
> 1) add AsmPrinter::EmitLabel which calls Streamer by default but may
> be overriden in target AsmPrinters
> 2) Register my own instance of MCStreamer which delegates all calls
> (except EmitLabel) to MCAsmStreamer. For this I will probably need to
> add RegisterAsmStreamer in TargetRegistry.h...
>
> Which one is the best? Or maybe I have overlooked some easier solution?
Hi Yuri,
I don't really understand what you're trying to do, can you give an example?
-Chris
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
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
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