search for: __jmp_buf_tag

Displaying 4 results from an estimated 4 matches for "__jmp_buf_tag".

2017 Jun 02
2
setjmp in llvm
...d::longjmp(jb, 1);    return 2;  }  return 1;} One would expect that the load of s in the if condition is not optimized away (by being replaced with if(1)), but clang at -O3 (on linux) generates this:define signext i32 @main() local_unnamed_addr #0 {entry:  %call = call signext i32 @_setjmp(%struct.__jmp_buf_tag* getelementptr inbounds ([1 x %struct.__jmp_buf_tag], [1 x %struct.__jmp_buf_tag]* @jb, i64 0, i64 0)) #3  call void @longjmp(%struct.__jmp_buf_tag* getelementptr inbounds ([1 x %struct.__jmp_buf_tag], [1 x %struct.__jmp_buf_tag]* @jb, i64 0, i64 0), i32 signext 1) #4  unreachable} which leads to a...
2014 Oct 09
4
[LLVMdev] Remaining Compiler-RT failures in ARM
Folks, As of this run: http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15-full/builds/746 There are three classes of failures that need fixing before we get the bot green: 1. AddressSanitizer.BuiltinLongJmpTest Unit Test Two configurations fail: * Asan-arm-inline-Test * Asan-arm-with-calls-Test I wonder what's the best way to run it individually and reduce the error. I'm not
2006 Aug 25
1
[LLVMdev] llvm-test and _setjmp
...iod (and others): gcc Output/siod.cbe.c -lm -ldl -fno-strict-aliasing -O2 -o Output/siod.cbe Output/siod.cbe.c:471: error: conflicting types for '_setjmp' /usr/include/setjmp.h:63: error: previous declaration of '_setjmp' was here siod.cbe.c:471: int _setjmp(struct l_struct_2E___jmp_buf_tag *); /usr/include/setjmp.h:64: extern int _setjmp (struct __jmp_buf_tag __env[1]) __THROW; I assume this is because of the array vs. the pointer. Why does the C Backend provide its own definition of _setjmp when it knows there is one in the header files vi the HAVE__SETJMP #define? Reid.
2014 Nov 03
8
[LLVMdev] [PATCH] Protection against stack-based memory corruption errors using SafeStack
...9 = load %struct.small** %tmp18, align 8 + %tmp20 = add i64 %tmp8, 1 + br label %bb6 + +bb21: ; preds = %bb6, %bb + %tmp22 = phi i32 [ %tmp1, %bb ], [ %tmp14, %bb6 ] + %tmp23 = call i32 (...)* @dummy(i32 %tmp22) nounwind + ret i32 undef +} + +%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t } +%struct.__sigset_t = type { [16 x i64] } + at buf = internal global [1 x %struct.__jmp_buf_tag] zeroinitializer, align 16 + +; test28: setjmp/longjmp test. +; Requires protector. +define i32 @test28() nounwind uwtable safestack { +entry: +; LINUX-I386:...