Commit Graph

14 Commits

Author SHA1 Message Date
martin
4f7da0ce19 New gcc can reuse stack frames for tail calls, so "main" is an optional
frame as well.
2014-01-11 19:48:22 +00:00
martin
030abcd2da Make the output of the test case better suited for debugging (output full
backtrace before failing any unclear asserts)
2014-01-11 19:13:41 +00:00
martin
34f5799411 Prevent inlining of the main testcase body function.
Do not mark the inner functions static, as they might get cloned then
(ending up being called "myfunc3.clone.3" instead of "myfunc").
2013-08-16 11:57:15 +00:00
joerg
cf7d2ab7ad Now that all architectures default to unwind data, remove the failure
for !amd64.
2013-08-15 12:42:25 +00:00
tron
c8ccd84f1f Fix build with stack-protection enabled. 2013-07-21 15:29:04 +00:00
joerg
e3f0a6cadb Put the vfork at the end. 2013-07-05 09:55:39 +00:00
joerg
8f5b02bd33 Use conditional calls to vfork() to prevent the compiler from inlining
the intermediate stack frames. Mark the __start frame as optional.
2013-07-04 23:53:13 +00:00
joerg
44c2dc6e5d Make back trace more robust. At least on i386, one of the intermediate
functions in ATF is not replaced by tail recursion elimination, so
mark it as optional.
2013-06-06 17:40:09 +00:00
njoly
f567e6f954 Adjust test for recent atf_machine (amd64) -> atf_arch (x86_64)
change.
2012-06-02 14:52:28 +00:00
jruoho
c4e17f798c Use "atf_arch" instead of "atf_machine"; see atf-config(1). 2012-05-30 15:11:58 +00:00
martin
f124f6239d Skip test on non-amd64 machines for now, pointing to PR 46490. 2012-05-30 06:01:22 +00:00
martin
8fa6d6191d Not a good idea to continue testing if basic assertions fail - only will
cause core dumps later.
2012-05-28 09:51:34 +00:00
martin
a0f17796a7 Fix destination directory 2012-05-27 22:57:24 +00:00
christos
5212b5c3e8 add a test for the backtrace function. 2012-05-27 18:47:18 +00:00