Displaying 1 result from an estimated 1 matches for "_z1aj".
2015 Apr 10
3
[LLVMdev] Different signatures or smart casting?
Hello!
I linked two bitcode files like described below using LTO and find
they are linked fine instead of making an error.
----------
1.bc
----------
...
define i32 @main(i32 %argc, i8** %argv) #0 {
entry:
...
%call = call i32 @_Z1aj(i64 2)
...
}
declare i32 @_Z1aj(i64) #1
...
----------
2.bc
----------
...
define i32 @_Z1aj(i32 %b) #0 {
entry:
...
}
...
----------
In the first file function "_Z1aj" is declared as having i64 argument,
whereas in the second file the function "_Z1aj" is described as having...