Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] AsmPrinter & ExternalWeakLinkage"
2010 Jul 13
0
[LLVMdev] AsmPrinter & ExternalWeakLinkage
On Jul 12, 2010, at 5:27 PM, David Greene wrote:
> I noticed that AsmPrinter::EmitLinkage doesn't handle
> ExternalWeakLinkage. Is that an oversight or is something
> deeper going on?
EmitLinkage is never called on external globals.
-Chris
2010 May 11
2
[LLVMdev] AsmPrinter::EmitLinkage
I have been looking over AsmPrinter::EmitLinkage (around line 195 of
lib\CodeGen\AsmPrinter\AsmPrinter.cpp) and it seems that its implementation
will vary quite a bit depending on what object file format is in use (MachO,
ELF, or COFF).
Would it make sense to delegate the implementation to a specialized object
from current the object file format?
I am tempted to make it the MCAsmInfo
2010 May 11
0
[LLVMdev] AsmPrinter::EmitLinkage
On May 10, 2010, at 6:46 PM, Nathan Jeffords wrote:
> I have been looking over AsmPrinter::EmitLinkage (around line 195 of lib\CodeGen\AsmPrinter\AsmPrinter.cpp) and it seems that its implementation will vary quite a bit depending on what object file format is in use (MachO, ELF, or COFF).
> Would it make sense to delegate the implementation to a specialized object from current the object
2010 May 11
2
[LLVMdev] AsmPrinter::EmitLinkage
On Mon, May 10, 2010 at 9:43 PM, Chris Lattner <clattner at apple.com> wrote:
>
> On May 10, 2010, at 6:46 PM, Nathan Jeffords wrote:
>
> > I have been looking over AsmPrinter::EmitLinkage (around line 195 of
> lib\CodeGen\AsmPrinter\AsmPrinter.cpp) and it seems that its implementation
> will vary quite a bit depending on what object file format is in use (MachO,
>
2011 Mar 16
0
[LLVMdev] linkage type
There is a description of all the possible linkage types at
http://llvm.org/docs/LangRef.html#linkage – does this answer your
question? (Basically, an extern_weak resp. ExternalWeakLinkage symbol
becomes null instead of being an undefined reference)
David
On 3/16/11 7:06 PM, Junjie Gu wrote:
> What is the difference between WeakAnyLinkage and ExternalWeakLinkage
> ? They are defined
2011 Jun 21
1
[LLVMdev] AsmPrinter directory
Hi,
While trying to debug a linking problem related to AsmPrinter, I found
following lines in {srcdir}/configure file.
if test -f ${srcdir}/lib/Target/${target_to_build}/*AsmPrinter.cpp ; then
LLVM_ENUM_ASM_PRINTERS="LLVM_ASM_PRINTER($target_to_build)
$LLVM_ENUM_ASM_PRINTERS";
It looks like the AsmPrinters are enumerated only if *AsmPrinter.cpp
file is present in
2010 Sep 27
1
[LLVMdev] Proposal: Splitting up MC/ELF + AsmPrinter Hierarchy?
Hi everyone,
I am in the process of adding some new code for th ARM/MC ELF
emission, but noticed a curious linkage between th AsmPrinter and the
MC.
It looks like the MC code (on X86 at least) calls out to the
(misnamed?) AsmPrinter to dump out ELF bits (in X86AsmPrinter.cpp) in
the same routine, using conditional branching....
As JimG and I are working both on ARM emission stuff, I want to
2011 Mar 16
2
[LLVMdev] linkage type
What is the difference between WeakAnyLinkage and ExternalWeakLinkage
? They are defined in GlobalValue.h. Thanks
Junjie
2007 Aug 10
2
[LLVMdev] Extending AsmPrinter
I'm looking at extending AsmPrinter to pretty-print comments after
instructions (I'm adding the necessary fields to MachineInstr to do this).
I'm trying to grok AsmWriterEmitter and having a tough go of it. I look at
X86GenAsmWriter1.inc (the Intel syntax writer) and understand that
there's a case block for printing operands under several switch statements,
one per
2007 Aug 13
0
[LLVMdev] Extending AsmPrinter
On Fri, 10 Aug 2007, David Greene wrote:
> I'm looking at extending AsmPrinter to pretty-print comments after
> instructions (I'm adding the necessary fields to MachineInstr to do this).
ok
> I also have a few questions on the general design of AsmPrinter. Why is
> runOnMachineFunction implemented for each target AsmPrinter? I would
Historical reasons that aren't very
2009 Jan 22
1
[LLVMdev] Minor AsmPrinter bug fix
The Microsoft CRT's implementation of isprint() has an internal assert
that the unsigned value passed in is in [0,256) but unprintable chars
passed in are sign extended to values that falsely trigger this assert.
--- c:\usr\src\llvm-svn\lib\CodeGen\AsmPrinter\AsmPrinter.cpp Tue Jan
20 10:30:42 2009
+++ c:\usr\src\llvm-integrate\lib\CodeGen\AsmPrinter\AsmPrinter.cpp
Thu Jan 22 15:19:47 2009
2017 May 09
2
lib/CodeGen/AsmPrinter/DwarfDebug.h:131: void llvm::DbgVariable::addMMIEntry(const llvm::DbgVariable&): Assertion `V.Var == Var && "conflicting variable"' failed.
David, Dean, all,
The bots got red today with assertion failures in
llvm::DbgVariable::addMMIEntry:
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/1816/steps/check-msan%20in%20gcc%20build/logs/stdio
I did not find the offender yet. Any ideas?
clang-5.0: /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:131:
void
2017 May 09
2
lib/CodeGen/AsmPrinter/DwarfDebug.h:131: void llvm::DbgVariable::addMMIEntry(const llvm::DbgVariable&): Assertion `V.Var == Var && "conflicting variable"' failed.
Thanks!
On Mon, May 8, 2017 at 6:25 PM, Reid Kleckner <rnk at google.com> wrote:
> I give it 99% odds it was r302483. Let's revert and debug it tomorrow.
>
> On Mon, May 8, 2017 at 6:20 PM, Kostya Serebryany via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> David, Dean, all,
>>
>> The bots got red today with assertion failures in
>>
2017 Dec 27
1
Convert MachineInstr to MCInst in AsmPrinter.cpp
Hello everyone,
In the file *lib/CodeGen/AsmPrinter/AsmPrinter.cpp*, I would like to obtain
an MCInst corresponding to its MachineInstr. Can anyone tell me a way to do
that?
If that is not possible, then, I would like to know if a given MachineInstr
is an *lea *instruction and I would like to know if the symbol involved
with this lea instruction is a jump-table.
For instance, given a
2009 Jan 28
2
[LLVMdev] AsmPrinter question
Hi All,
I need to print some extra information about libcall names in assembly.
Libcall names are managed as ExternalSymbols in LLVM.
How do I access these ExternalSymbols from Asmprinter?
AsmPrinter uses class Module that lists all the global variables
(including extern variables) and functions (include extern functions).
But it does not list any information about the libcalls
2011 Nov 09
1
[LLVMdev] AsmPrinter vs. MCAsmStreamer
I'm writing a backend using a mid-October svn snapshot of LLVM. I'm having
a hard time figuring out the relationship between my XXXAsmPrinter and
MCAsmStreamer. Can someone explain what each is responsible for? Looking at
the existing targets, the XXXAsmPrinter implementations seem to implement
both the legacy "create a .s file" behavior, using
printInstruction/printOperand/etc
2018 Mar 20
0
Why is there no EmitInt64 in AsmPrinter?
DWARF already needs to emit 64-bit values, being the type-unit hashes. How is that being done? (If it's going directly to the streamer, then we're already assuming all assemblers are okay with what the streamer does, and adding an AsmPrinter helper seems very reasonable.)
--paulr
From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of James Henderson via llvm-dev
Sent:
2015 Dec 14
3
Getting TargetLowering in AsmPrinter / Lowering constant addrspacecast
Hi,
I'd like to add support for addrspacecast in initializers of global
variables, at least for the trivial case. The trivial case is if
TargetLowering::isNoopAddrSpaceCast(SrcAS, DestAS) returns true. In
this case the MCExpr for the addrspacecast is the MCExpr of its first
operand.
It seems hard to obtain an instance of TargetLowering in
AsmPrinter::lowerConstant(). Other methods in
2006 Dec 09
2
[LLVMdev] [patch] move ExtWeakSymbols to AsmPrinter
The attached patch moves the ExtWeakSymbols to the AsmPrinter class
and the code that emits the ".weak" directives to
AsmPrinter::doFinalization.
This is just code factoring. No functionality changes.
Best Regards,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm.patch
Type: text/x-patch
Size: 5387 bytes
Desc: not available
URL:
2009 Jan 28
0
[LLVMdev] AsmPrinter question
See MachineOperand.h. If a MachineOperand represents an external
symbol, getSymbolName() returns a string.
Evan
On Jan 27, 2009, at 8:26 PM, Sachin.Punyani at microchip.com wrote:
> Hi All,
>
> I need to print some extra information about libcall names in
> assembly. Libcall names are managed as ExternalSymbols in LLVM.
>
> How do I access these ExternalSymbols from