Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] how to fix this "Expected no forward declarations!" assertion fail"
2014 Oct 01
3
[LLVMdev] need help on llvm support for Chapel
Hello,
I don't know if anyone gets familiar with the llvm Chapel front end, it's
version 3.3 and comes within Chapel source package. I'm trying to parse the
.bc code generated from a simple helloworld chapel program.
Just run a basic Hello pass on the code (default one in the llvm source
code) that prints out all the function names in the module. However, it
prints a bunch of
2015 Jun 04
2
[LLVMdev] `Ty && "Trying to add a type that doesn't exist?
Upgrade clang? I can't reproduce it with trunk.
On 4 June 2015 at 14:48, Hui Zhang <wayne.huizhang at gmail.com> wrote:
> Yes, I found this link, but what's the solution??
>
> On Thu, Jun 4, 2015 at 1:09 PM, Rafael EspĂndola
> <rafael.espindola at gmail.com> wrote:
>>
>> I think this is https://llvm.org/bugs/show_bug.cgi?id=16846
>>
>> On
2015 Jun 04
2
[LLVMdev] `Ty && "Trying to add a type that doesn't exist?
I think this is https://llvm.org/bugs/show_bug.cgi?id=16846
On Jun 4, 2015 12:04 PM, "Hui Zhang" <wayne.huizhang at gmail.com> wrote:
> Is there any clue for this error ?
>
> Thanks
>
> On Tue, Jun 2, 2015 at 5:47 PM, Hui Zhang <wayne.huizhang at gmail.com>
> wrote:
>
>> Hello,
>>
>> I'm having this error and couldn't find a
2015 Jun 02
2
[LLVMdev] `Ty && "Trying to add a type that doesn't exist?
Hello,
I'm having this error and couldn't find a resolution from online, any help
would be greatly appreciated:
clang:
/export/home/hzhang86/chapel/chapel-llvm36/chapel/third-party/llvm/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp:839:
void llvm::DwarfUnit::addType(llvm::DIE&, llvm::DIType,
llvm::dwarf::Attribute): Assertion `Ty && "Trying to add a type that
doesn't
2014 Dec 19
2
[LLVMdev] question about the DIBuilder::createStructType
Hello, Richard
Thanks a lot !
On Fri, Dec 19, 2014 at 10:04 AM, RICHARD STUCKEY <
richard.stuckey at virgin.net> wrote:
>
> Hi, Hui Zang,
>
> It helps to remember that at runtime a variable of a structure type has to
> be allocated store, and to think about how that variable is laid out in
> store.
>
> You must use createMemberType to create a DIType for *each*
2014 Dec 18
2
[LLVMdev] question about the DIBuilder::createStructType
Hello,
I'm using DIBuilder to create debugging information, I'm not clear about
two things:
[1] Could you help explain the meaning and the difference
between"alignment" and "offset" of a type ?
e.g class Actor{
int age;
const char* name;
}
Besides, I found the denotation of createMemberType and createStructType
both have "Member
2007 Feb 22
3
[LLVMdev] opt -verify
I followed what you said and called verifyModule() with the
AbortProcessAction option. verifyModule() returns false, but does not
abort and does not print out any information about what caused the
verification to fail.
Chris Lattner wrote:
> On Wed, 21 Feb 2007, Ryan M. Lefever wrote:
>> I am writing an interprocedural compiler pass. Because the passneeds
>> information from a
2012 Jun 11
2
[LLVMdev] Why always abort in verifyFunction?
Hello everyone:
I have a little question about the second argument *action* of
verifyFunction.
In docs:
*Enumerator: * *AbortProcessAction*
verifyModule will print to stderr and abort()
*PrintMessageAction*
verifyModule will print to stderr and return true
*ReturnStatusAction*
verifyModule will just return true
But it still abort when I pass
2007 Feb 22
0
[LLVMdev] opt -verify
I also tried iterating through the functions of the module and calling
verifyFunction(), which also returns false, but does not cause an abort
or report anything to stderr about what caused the verification to fail.
From the doxygen for verifyFunction() and verifyModule(), it seems
like they both should print information to stderr if the verification
fails and should abort opt if
2017 Mar 12
2
What does it mean by a "DICompileUnit missing from llvm.dgs.cu" ? | Where is the error ?
On Sat, Mar 11, 2017, at 07:34 PM, David Blaikie via llvm-dev wrote:
> On Sat, Mar 11, 2017 at 3:10 AM SANJAY SRIVALLABH SINGAPURAM via llvm-dev
> <
> llvm-dev at lists.llvm.org> wrote:
>
> > Hello,
> >
> > One of my Julia programs failed to execute with the following error,
> > DICompileUnit not listed in llvm.dbg.cu
> > !11 = distinct
2007 Feb 22
1
[LLVMdev] opt -verify
I think I misread the doxygen. verifyFunction & verifyModule return
false if no errors are detected. However, my question now becomes why
does the code produced by my transform pass verification, but it causes
an assertion failure in the byte reader when it (the code produced by my
transform) is passed to another invocation of opt?
Ryan M. Lefever wrote:
> I also tried iterating
2015 Nov 04
2
how to add the location debug info for each instruction
> On Nov 3, 2015, at 5:00 PM, Hui Zhang <wayne.huizhang at gmail.com> wrote:
>
> Hello,
>
> I found a weird thing in llvm 3.3:
>
> For exactly the same MDNode *space, if I cast it to DILocation loc(space) and call loc.getFileName(), or I cast it to DIScope sco(space) and call sco.getFilename(), the return value would be different ! Totally two different files
2012 Jun 11
0
[LLVMdev] Why always abort in verifyFunction?
Hi Xiu,
The Verifier pass runs a PreVerifier pass, which does not honour the action
argument,
and will always abort on a broken module, (Line 106,
lib/VMCore/Verifier.cpp)
Perhaps you should file a bug against this, to allow you to not abort if
you so wish.
Joey
On 11 June 2012 09:41, Guowei Xu <myesis at gmail.com> wrote:
> Hello everyone:
>
> I have a little question
2005 May 10
4
density function
Hi,
I wonder if the function "density" outputs the gaussian mixture formula
that is estimated from the input data, assuming a gaussian model is used
at each data point ? I want to take the derivative of the finally
estimated gaussian mixture formula for further analysis.
Thanks in advance for any help that you can offer me!
Hui
2012 May 22
3
pad leading zeros in front of strings
Dear All,
This question sounds very simple but I don't know where I am wrong. I just want to pad leading zeros in some string, for example, "123" becomes "00123". What is wrong if I do following?
> sprintf("%05s", "123")
[1] " 123"
It didn't return "00123", instead it padded with 'blank'.
Thank you for your help
2012 May 09
2
[LLVMdev] Calling C-language variadic functions
Such as printf, etc., from IR created using the API (IRBuilder).
Google hasn't provided much help, and I can't find anything relevant in
the docs (the docs talk about how to do varargs in LLVM ASM, but not how
to call an external vararg function that exists in a library that gets
linked to the LLVM module).
Is there something special I need to do? Simply calling
2007 Dec 26
2
[LLVMdev] Instantiating modules from .bc files
Hey there,
I'm relatively new to the llvm scene, and so far I'm liking it quite
a bit. I'm a bit perplexed as to what llvm-gcc's role is in
everything. I've used it to create .bc files for really simple
functions and it seems to do quite well at that, but I've been trying
to figure out how to take the output from llvm-gcc and actually use
it in another program.
2004 Mar 31
3
help with the usage of "randomForest"
Dear all,
Can anybody give me some hint on the following error msg I got with using
randomForest?
I have two-class classification problem. The data file "sample" is:
----------------------------------------------------------
udomain.edu udomain.hcs hpclass
1 1.0000 1 not
2 NA 2 not
3 NA 0.8 not
4 NA 0.2 hp
5 NA 0.9 hp
------------------------------------------------------------
The
2005 Apr 18
4
longer object length, is not a multiple of shorter object length in: kappa * gcounts
Hi,
I was using a density estimation function as follows:
> est <- KernSmooth::bkde(x3, bandwidth=10)
When setting bandwidth less than 5, I got the error "longer object
length, is not a multiple of shorter object length in: kappa * gcounts ".
I wonder if there is anybody who can explain the error for me?
Thanks!
Hui
2013 Jun 27
2
[LLVMdev] Problem with linking modules which use a shared type
Hi,
I stumbled upon a strange thing regarding types and module linking, which I don't quite get, so maybe someone around here can enlighten me.
Consider the following code, which will create 2 modules m1 and m2, and a named structured type %T = { i32 }; m1 contains only a function definition f(%T), m2 contains a function declaration f(%T) and a function definition h(%T), where h will call f