Displaying 17 results from an estimated 17 matches for "isundefin".
Did you mean:
isundef
2017 Oct 14
2
Reducing confusion around isUndefined()
...commits <llvm-commits at lists.llvm.org>
Reply-To: Rui Ueyama <ruiu at google.com>
Date: Friday, October 13, 2017 at 4:22 PM
To: Rafael Avila de Espindola <rafael.espindola at gmail.com>
Cc: llvm-commits <llvm-commits at lists.llvm.org>
Subject: Re: Reducing confusion around isUndefined()
I think I'm not too excited about adding more predicates or inheritance. Lazy symbols are useful only when we are adding files to the symbol table. After that, there's no use of them. So maybe we can just visit all symbols at some point after reading all files but before writeResult to...
2011 May 23
2
[LLVMdev] Debug llc crash using bugpoint
Hi,
What is the best way to debug an llc crash using bugpoint?
I am getting the following crash that I would like to reduce
llc: /home/vadve/aggarwa4/llvm29/llvm-2.9/lib/MC/MCAsmStreamer.cpp:273:
virtual void<unnamed>::MCAsmStreamer::EmitLabel(llvm::MCSymbol*): Assertion
`Symbol->isUndefined() && "Cannot define a symbol twice!"' failed.
0 llc 0x00000000013ae046
1 llc 0x00000000013ae5d4
2 libpthread.so.0 0x000000325660eb10
3 libc.so.6 0x0000003255a30265 gsignal + 53
4 libc.so.6 0x0000003255a31d10 abort + 272
5 libc.so.6...
2012 Nov 01
1
[LLVMdev] emitting dwarf debug info on mach fails with assert
Compiling the IR code at http://pastebin.com/hSwdLdD0 for target triple
x86_64-apple-macosx
fails with :
assert(Symbol->isUndefined() && "Cannot define a symbol twice!");
`anon'::MCMachOStreamer::EmitLabel(llvm::MCSymbol * Symbol)
llvm::DwarfDebug::emitDebugInfo() Line 1752 + 0x3c bytes C++
llvm::DwarfDebug::endModule() Line 865 C++
llvm::AsmPrinter::doFinalization(llvm::Module & M) Line 878 C++...
2011 May 23
0
[LLVMdev] Debug llc crash using bugpoint
...he best way to debug an llc crash using bugpoint?
>
> I am getting the following crash that I would like to reduce
>
> llc: /home/vadve/aggarwa4/llvm29/llvm-2.9/lib/MC/MCAsmStreamer.cpp:273: virtual void<unnamed>::MCAsmStreamer::EmitLabel(llvm::MCSymbol*): Assertion `Symbol->isUndefined() && "Cannot define a symbol twice!"' failed.
> 0 llc 0x00000000013ae046
> 1 llc 0x00000000013ae5d4
> 2 libpthread.so.0 0x000000325660eb10
> 3 libc.so.6 0x0000003255a30265 gsignal + 53
> 4 libc.so.6 0x0000003255a31d10 a...
2006 Jan 11
9
Prototype & Cookies
Has anyone written any "cookie" class using prototype?
Basically, what I am looking for is if there is an easy way to store mutiple cookies in a single cookie using hash or something - easy writing and retrieval (updating the cookie value).
For eg -
If I had 25 cookies for my domain 5 of the cookies would either get dropped or not be set (as there is a limit of 20 cookies per domain).
2006 Feb 27
11
Disabling anchor clicking in a draggable
Hey guys
I have an interesting problem - I have some draggable elements (sortable
actually), with links (<A>) inside them. I want the user to be able to
click on the link, however if the user drags the element I don''t want
the link to get fired. Can anyone think of a way to do this? It only
needs to work in Firefox.
Cheers
-Rob
2013 Aug 22
0
[LLVMdev] Mangler does not check for duplicate symbols?
...(1) global float 1.0
@"a_28_b" = addrspace(1) global float 1.0
If I run this through the x86 backend, I get:
llc: /scratch/jholewinski/llvm/src/llvm/lib/MC/MCAsmStreamer.cpp:351:
virtual void <anonymous namespace>::MCAsmStreamer::EmitLabel(llvm::MCSymbol
*): Assertion `Symbol->isUndefined() && "Cannot define a symbol twice!"'
failed.
The backend tries to define the mangled symbol name twice, since "a(b"
mangles to "a_28_b".
Was it a conscious design choice to do it this way? Perhaps to save the
time of verifying the uniqueness of the s...
2011 Jan 03
1
[LLVMdev] Erasing dead blocks
Dear LLVM developers,
I have a question regarding the IPSCCP class and the handling of dead blocks:
The file lib/Transforms/Scalar/SCCP.cpp of llvm 2.8 from contains some
code to deal with a dead block which could not be folded (line
1909ff). This happens when a user of this dead block is a branch or
switch with an undef condition. The action taken than is to replace
this terminator with an
2010 Jul 17
1
[LLVMdev] Win32 COFF Support - Patch 3
On Fri, Jul 16, 2010 at 11:25 AM, Daniel Dunbar <daniel at zuster.org> wrote:
> Hi Michael,
>
> Overall patch looks good. I do have a few comments below. My main
> comment is please try to make the style match that used in the
> MCMachOStreamer more closely. I intend to refactor more functionality
> into the base MCObjectStreamer class, and having them use consistent
>
2013 Jan 07
0
[LLVMdev] How to output a .S *and* a .OBJ file?
...an't figure this out... I have a compiler that
outputs my module in either .s assembly format or .obj binary format,
either one works just fine. But if I try to output both of them by adding
passes, LLVM throws an Assert:
void WinCOFFStreamer::EmitLabel(MCSymbol *Symbol) {
assert(Symbol->isUndefined() && "Cannot define a symbol twice!");
MCObjectStreamer::EmitLabel(Symbol);
}
I attached my code which attempts to make it output both... if I comment
out the lines for one or the other it works just fine.
That code is just a copy of the llvm c compiler's code, changed sl...
2011 Nov 30
2
[LLVMdev] Problem using a label to a MachineBasicBlock
...1 and MBB12 have both their address taken, and the reference count for BB1
is increased twice. With this, I am triggering a new assertion failure:
In lib/MC/MCAsmStreamer.cpp:328 of MCAsmStreamer::EmitLabel(llvm::MCSymbol*)
----
void MCAsmStreamer::EmitLabel(MCSymbol *Symbol) {
assert(Symbol->isUndefined() && "Cannot define a symbol twice!");
MCStreamer::EmitLabel(Symbol);
OS << *Symbol << MAI.getLabelSuffix();
EmitEOL();
}
---
When I disable the assertion, I observe the following:
The different labels for the machine basic blocks are emitted, but the two new...
2011 Mar 28
3
[LLVMdev] Accessing metadata & creating DIVariable
...rying to add dbg.declare inst
for a local variable I added to a function. I used the DIBuilder to
build a DIVariable. When I try to compile llc fails with following
message.
llc: MCAsmStreamer.cpp:273: virtual
void<unnamed>::MCAsmStreamer::EmitLabel(llvm::MCSymbol*): Assertion
`Symbol->isUndefined() && "Cannot define a symbol twice!"' failed.
I can't figure out what is wrong, there are no obvious duplicate
entries. The original CU entry got replaced by the CU I created with
DIBuilder. Not sure, if changing the CU is the cause of error.
What is the right way t...
2012 Mar 13
3
[LLVMdev] Your commit 103140
...o custom stuff.
> void AsmPrinter::EmitFunctionEntryLabel() {
> - OutStreamer.EmitLabel(CurrentFnSym);
> + // The function label could have already been emitted if two symbols end up
> + // conflicting due to asm renaming. Detect this and emit an error.
> + if (CurrentFnSym->isUndefined())
> + return OutStreamer.EmitLabel(CurrentFnSym);
> +
> + report_fatal_error("'" + Twine(CurrentFnSym->getName()) +
> + "' label emitted multiple times to assembly file");
> }
>
2010 Jun 21
2
[LLVMdev] MC: Object file specific parsing
...ternally end up wanting an alignment in bytes.
- // FIXME: Diagnose overflow.
- if (Pow2Alignment < 0)
- return Error(Pow2AlignmentLoc, "invalid '.comm' or '.lcomm' directive "
- "alignment, can't be less than zero");
-
- if (!Sym->isUndefined())
- return Error(IDLoc, "invalid symbol redefinition");
-
- // '.lcomm' is equivalent to '.zerofill'.
- // Create the Symbol as a common or local common with Size and Pow2Alignment
- if (IsLocal) {
- Out.EmitZerofill(Ctx.getMachOSection("__DATA", &quo...
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...t] = false
}
- });
+ });
},
zindex: 1000,
revert: false,
@@ -250,57 +250,57 @@ var Draggable = Class.create({
snap: false, // false, or xy or [x,y] or function(x,y){ return [x,y] }
delay: 0
};
-
+
if(!arguments[1] || Object.isUndefined(arguments[1].endeffect))
Object.extend(defaults, {
starteffect: function(element) {
element._opacity = Element.getOpacity(element);
Draggable._dragging[element] = true;
- new Effect.Opacity(element, {duration:0.2, from:element._opacity, to:0.7});
+...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply
to this email, as some of the replaced lines are too long, so git
won't let me send the email. However, there is nothing wrong with
that patch, and it should be applied in the sequence listed below.
Note also that I assume this will be tested on a clean f11 install, rather
than an upgrade of an existing ovirt server
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
...+ IsExtern = 1;
+ Index = SD->getIndex();
+
+ // For external relocations, make sure to offset the fixup value to
+ // compensate for the addend of the symbol address, if it was
+ // undefined. This occurs with weak definitions, for example.
+ if (!SD->Symbol->isUndefined())
+ FixedValue -= Layout.getSymbolOffset(SD);
+ } else {
+ // The index is the section ordinal (1-based).
+ const MCSectionData &SymSD =
+ Asm.getSectionData(SD->getSymbol().getSection());
+ Index = SymSD.getOrdinal() + 1;
+ FixedValue += Writer->...