Displaying 2 results from an estimated 2 matches for "76dc4190".
2019 Jul 02
2
storage class 0 symbol is generated for a double constant in COFF-x86-64 object file
...ouble)
> define i32 @main() {
> call void @my_function(double 2.000000e+00, double 2.000000e+00)
> ret i32 0
> }
>
> $ dumpbin -symbols t.o
> ...
> 006 00000000 SECT4 notype Static | .rdata
> Section length 8, #relocs 0, #linenums 0, checksum 76DC4190,
> selection 2 (pick any)
> 008 00000000 SECT4 notype External | __real at 4000000000000000
> ...
>
> If you can provide complete IR on which llc produces a 0 storage class,
> that would be interesting, but otherwise there's not much we can do.
>
> On Fri,...
2019 Jun 29
2
storage class 0 symbol is generated for a double constant in COFF-x86-64 object file
Hi,
I am using the llvm codegen facility (version 7.0.1) to translate LLVM IR
for different platforms. I have this error particularly in win64 platform.
In my IR code I have such code snippet:
%50 = call i8* @my_function(i8* %48, double 2.000000e+00, double
2.000000e+00)
...
declare dllimport i8* @my_function(i8*, double, double)
By passing it to llc.exe, I find following symbol is declared in