1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-24 16:27:37 +01:00
Commit graph

8 commits

Author SHA1 Message Date
Tommi Rantala
5fedf3407c Avoid -Wunused-value warning in tests/Gtest-exc.c
Gtest-exc.c: In function 'a':
Gtest-exc.c💯15: warning: value computed is not used [-Wunused-value]
2012-08-21 22:33:56 +03:00
hp.com!davidm
30dec34c3a Include "config.h" and <ia64intrin.h> if we have them.
2004/10/19 23:11:07-07:00 mostang.com!davidm
(got_here): New global variable.
(raise_exception): Fix off-by-2 error so that we _really_ step
	to the outermost a() frame.
(get_bsp): New function.
(__builtin_ia64_bsp): Remove.
(a): Print stack and bsp addresses as we recurse.
     When resuming execution in outermost a() frame (n==depth),
     clear "result" and set "got_here" so we know we landed in
     the right place.
(main): Don't accept arguments that cause "depth" to be < 1.
	When returning from a(), also check "got_here".  If
	the check failed, print result, got_here, and nerrors
	for diagnostic purposes.

(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
9fb355e096 (depth): New global variable.
(raise_exception): Make non-static, unwind "depth - 1" steps to get to
	top-most a() frame.
(__builtin_ia64_bsp): Also define for Intel-compiler.
(a): Restructure so it works in the face of global optimization and also
	remove GCC dependencies.
(main): Initialize depth based on argv[1].

(Logical change 1.232)
2004-05-06 21:11:29 +00:00
hp.com!davidm
06e572340e (a): Don't use inline-asm for Intel-compiler.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
mostang.com!davidm
757746aefb (a): When compiling with GCC on ia64, use "asm" statement to get the address of the
label.  gcc-3.x otherwise notices that the label isn't used for control-flow
	and feels free to move it around (usually to the beginning of the basic-block),
	with very bad consequences.

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
797322b3b4 (a): If not compiling with GCC, explain that there is no hope of exercising this
test.

(Logical change 1.68)
2003-03-27 04:29:07 +00:00
hp.com!davidm
f77ee147ac Delete UNW_LOCAL_ONLY.
2003/02/21 18:58:12-08:00 hp.com!davidm
Rename: tests/test-exc.c -> tests/Gtest-exc.c

(Logical change 1.53)
2003-02-22 03:08:22 +00:00
hp.com!davidm
37d99c0c9f Initial revision 2003-02-22 03:08:22 +00:00