Displaying 3 results from an estimated 3 matches for "fw_csr_iterator".
2013 Jun 20
1
[LLVMdev] opt fails with assertion in Attributes.cpp
Hi Bill,
With the latest llvm version I'm getting the following error:
opt -instnamer < core-device.c.bc > core-device.o.bc
Attribute 'nobuiltin' only applies to functions!
void (%struct.fw_csr_iterator*, i32*)* @fw_csr_iterator_init
Broken module found, compilation aborted!
0 opt 0x0000000001914bf1 llvm::sys::PrintStackTrace(_IO_FILE*)
+ 38
1 opt 0x0000000001914e78
2 opt 0x00000000019148bc
3 libpthread.so.0 0x00000035d980efe0
4 libc.so.6 0x00000035d8...
2013 Jun 18
0
[LLVMdev] opt fails with assertion in Attributes.cpp
Hi Marcelo,
That should be fixed now at r184239. Sorry about the failure!
-bw
On Jun 17, 2013, at 6:16 AM, Marcelo Sousa <marceloabsousa at gmail.com> wrote:
> Hello,
>
> I'm getting an error when running opt with what seems to be a valid bytecode file compiled from one the Linux Kernel files.
> The error is:
> opt: /home/scratch/llvm/lib/IR/Attributes.cpp:119:
2013 Jun 17
2
[LLVMdev] opt fails with assertion in Attributes.cpp
Hello,
I'm getting an error when running opt with what seems to be a valid
bytecode file compiled from one the Linux Kernel files.
The error is:
opt: /home/scratch/llvm/lib/IR/Attributes.cpp:119: llvm::StringRef
llvm::Attribute::getKindAsString() const: Assertion `isStringAttribute() &&
"Invalid attribute type to get the kind as a string!"' failed.
I send you in attach