Displaying 3 results from an estimated 3 matches for "trace_float".
Did you mean:
trace_flag
2012 Dec 30
2
[LLVMdev] alignment issue, getting corrupt double values
...ndef, i32 1, 0
%s3 = insertvalue %outer %s2, %inner %s1, 1
;%s4 = insertvalue %outer %s3, i1 false, 2
ret %outer %s3
}
define void @main() {
entry:
%o = call %outer @eval_expr()
%s = extractvalue %outer %o, 1
%s1 = extractvalue %inner %s, 0 ;ERROR: this value is 0.0, expected 1.5
call void @trace_float(double %s1)
%s2 = extractvalue %inner %s, 1 ;ERROR: this value is 1073217536, expected 2
call void @trace_integer(i32 %s2)
ret void
}
; simple tracing functions
@.int_str = private unnamed_addr constant [4 x i8] c"%d\0A\00"
define void @trace_integer( i32 %i ) {
entry:
%sp = geteleme...
2013 Apr 11
0
[LLVMdev] object file/linking is missing my exception handlers
Hi,
On 11/04/13 06:06, edA-qa mort-ora-y wrote:
> I have some exception handling which works fine using the JIT. Now I am
> producing object files and linking them, but the exception handling
> tables seem to be missing. I call _Unwind_RaiseException and get
> _URC_END_OF_STACK as a result.
you will get this if no catch clauses match (eg because there are no catch
clauses, perhaps
2013 Apr 11
4
[LLVMdev] object file/linking is missing my exception handlers
I have some exception handling which works fine using the JIT. Now I am
producing object files and linking them, but the exception handling
tables seem to be missing. I call _Unwind_RaiseException and get
_URC_END_OF_STACK as a result.
I produce my object file using TargetMachine::addPassesToEmitFile and
then I link my resulting files with:
gcc -o prog input.o -fexceptions
I'm sure I'm