Displaying 1 result from an estimated 1 matches for "hasweakdefdirective".
2013 Aug 16
0
[LLVMdev] How do I set WeakDefDirective for a target?
...eakRefDirective & getWeakRefDirective().
WeakDefDirective seems to be a boolean, used by AsmPrinter::EmitLinkage(), to decide if special stuff needs to be done.
As I just want "weak", I should leave WeakDefDirective as null.
Is this right?
It would be nice if there was a additional hasWeakDefDirective that a target could specify (default false).
Also should MCAsmStreamer::EmitSymbolAttribute() emitted MAI->getWeakDefDirective() rather than "\t.weak_definition\t"?
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/piperm...