1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-18 01:53:42 +01:00
Commit graph

1181 commits

Author SHA1 Message Date
hp.com!davidm
3f32d4b09f ia64: Don't acquire the script-cache lock when caching is disabled.
BKrev: 3fc24f7fZ4j5hs7_FGo85zJKgYbBCQ
2003-11-24 18:35:43 +00:00
hp.com!davidm
ffb9c88e0a (ia64_find_save_locs): Separate out the no-cache case so we don't
acquire the script-cache lock needlessly.

(Logical change 1.122)
2003-11-24 18:35:43 +00:00
hp.com!davidm
8a5d7aad9b ia64: Fix an initialization-race that kept NPTL test-case tst-cancel10 from
working properly.

BKrev: 3fc24f08_2n5sDugh5y-3SaRA4-JkQ
2003-11-24 18:33:44 +00:00
hp.com!davidm
3f35f343c3 (needs_initialization): Declare it as volatile so we get proper memory
ordering when accessing it.  Also, shrink size to 1 byte and move
	it closer to other frequently-used fields.

(Logical change 1.121)
2003-11-24 18:33:44 +00:00
hp.com!davidm
22ca263109 (ia64_init): To prevent a race, unw.needs_initialization must be cleared
_after_ everything is initialized.

(Logical change 1.121)
2003-11-24 18:33:44 +00:00
hp.com!davidm
955c9d72de Drop a bogus range-check from _UPT_find_proc_info.c.
BKrev: 3fbf024cAF5HwLyYvJe9ryYzraErAw
2003-11-22 06:29:32 +00:00
hp.com!davidm
ca11999d9d (UPTi_find_unwind_table): Drop bogus range-check.
(Logical change 1.120)
2003-11-22 06:29:32 +00:00
hp.com!davidm
1d1e8f3ba7 ia64: Fix list of register-names used for debugging.
BKrev: 3fbf013cWBAW18Cb6_zIWA-yzUa1OA
2003-11-22 06:25:00 +00:00
hp.com!davidm
40e929815c (unw.pre_name): Add missing register names.
(Logical change 1.119)
2003-11-22 06:25:00 +00:00
hp.com!davidm
21a8c644e7 ia64: Make per-thread caching work.
BKrev: 3fbf0066zF7IGnE1AphIo29Zv59ZqA
2003-11-22 06:21:26 +00:00
hp.com!davidm
8b3248c32e (unw_set_caching_policy): If caching-policy didn't change, return
early.  Always flush cache after changing the policy.
	This is to ensure that the per-thread cache gets initialized
	and no stale info remains.

(Logical change 1.118)
2003-11-22 06:21:26 +00:00
hp.com!davidm
2245be9d9b (get_script_cache): Need to disable signal-delivery even for per-thread
caching.
(put_script_cache): Need to re-enable signal-delivery even for
	per-thread caching.

(Logical change 1.118)
2003-11-22 06:21:26 +00:00
hp.com!davidm
984170936a ia64: Fix the handling of r0. Previously, bad thing would happen
when accessing r0 and there was a signal frame on the stack.

BKrev: 3fbeff34laFDN81Kp37SbTkjOPIGYQ
2003-11-22 06:16:20 +00:00
hp.com!davidm
8d7426fe0a (linux_scratch_loc): Add a default-case which simply returns the
register-location.  This is so that special-cases such
	as r0 are handled properly.

(Logical change 1.117)
2003-11-22 06:16:20 +00:00
hp.com!davidm
c23814c91c Regenerate.
(Logical change 1.116)
2003-11-22 06:11:18 +00:00
hp.com!davidm
119f52f298 Fix typo & description of unw_step(). Reported by Hans Boehm.
BKrev: 3fbefe06XgpjYsZN9iUagkJ44R-YVw
2003-11-22 06:11:18 +00:00
hp.com!davidm
bb4371c364 Fix description of the return value.
(Logical change 1.116)
2003-11-22 06:11:18 +00:00
hp.com!davidm
34085cad7b Fix a typo.
(Logical change 1.116)
2003-11-22 06:11:18 +00:00
hp.com!davidm
2c9be974dc Regenerate.
(Logical change 1.115)
2003-11-22 06:08:20 +00:00
hp.com!davidm
f626045f59 Do autoreconf and work around libtool bug.
BKrev: 3fbefd541K4H9aGm1LrbxSo71QLLTw
2003-11-22 06:08:20 +00:00
hp.com!davidm
a2ff0da66f Delete: aux/libtool
}(Logical change 1.115)
2003-11-22 06:08:20 +00:00
mostang.com!davidm
e83a184218 Regenerate.
(Logical change 1.114)
2003-11-20 01:10:03 +00:00
mostang.com!davidm
7a346fbf8c Measure with caching disabled, global caching, and thread-local
caching.

(Logical change 1.114)
2003-11-20 01:10:03 +00:00
mostang.com!davidm
716484f000 (Logical change 1.114) 2003-11-20 01:10:03 +00:00
mostang.com!davidm
634e645f67 Initial revision 2003-11-20 01:10:03 +00:00
mostang.com!davidm
2048e47261 Add a test-case for concurrent (multi-threaded unwinding).
Expand the performance testing to cover all 3 caching policies.

BKrev: 3fbc146bA7l4JDVv-V9HbFW-FVtQ2Q
2003-11-20 01:10:03 +00:00
mostang.com!davidm
00f05d607b (check_PROGRAMS_cdep): Mention Gtest-concurrent and Ltest-concurrent.
(Ltest_concurrent_LDADD): New macro.
(Gtest_concurrent_LDADD): Ditto.

(Logical change 1.114)
2003-11-20 01:10:03 +00:00
hp.com!davidm
f8c7df3359 Update README a bit.
BKrev: 3fbbf9ae53nvASEUb0trlAf2tq-adg
2003-11-19 23:15:58 +00:00
hp.com!davidm
c3328ce150 Delete: src/ia64/TODO
}(Logical change 1.113)
2003-11-19 23:15:58 +00:00
hp.com!davidm
b8e952c5a7 Clarify the meaning of the results from "make check" a bit.
(Logical change 1.113)
2003-11-19 23:15:58 +00:00
mostang.com!davidm
42bf20b5ae Move initialization of unwi_full_sigmask to arch-specific code, since it occurred too late
otherwise.

BKrev: 3fbb0b33XipfeY83SU3DuNHfud_knQ
2003-11-19 06:18:27 +00:00
mostang.com!davidm
e5cf56ec1c (mi_init): Initializing unwi_full_sigmask is too late here, it needs to be done in the
arch-specific initialization, so that thread-safety can be guaranteed.

(Logical change 1.112)
2003-11-19 06:18:27 +00:00
mostang.com!davidm
6b2855500a (ia64_init): Move initialization of unwi_full_sigmask to here, from mi_init().
(Logical change 1.112)
2003-11-19 06:18:27 +00:00
hp.com!davidm
ecd738c410 Protect initialization on ia64 with a global lock. Bug reported by
Laurent Morichetti.

BKrev: 3fbadf5dlbzh7FmpbxCzWYqxHwpecA
2003-11-19 03:11:25 +00:00
hp.com!davidm
2f5a4b5679 Locking is fixed now.
(Logical change 1.111)
2003-11-19 03:11:25 +00:00
hp.com!davidm
add6b939a0 (unw_set_caching_policy): Let ia64_init() clear unw.needs_initialization.
(Logical change 1.111)
2003-11-19 03:11:25 +00:00
hp.com!davidm
f5f706c35e (unw_init_remote): Let ia64_init() clear unw.needs_initialization.
(Logical change 1.111)
2003-11-19 03:11:25 +00:00
hp.com!davidm
3551d42d45 (unw_init_local): Let ia64_init() clear unw.needs_initialization.
(Logical change 1.111)
2003-11-19 03:11:25 +00:00
hp.com!davidm
9b47e7723f (unw_get_accessors): Let ia64_init() clear unw.needs_initialization.
(Logical change 1.111)
2003-11-19 03:11:25 +00:00
hp.com!davidm
8e71bb0ab2 (unw): Initialize "lock" member. Switch to ANSI99-style initializers.
(ia64_init): Use unw.lock to protect against races during
	initialization.  Disable signal delivery during initialization
	to ensure thread-safety (e.g., unw_init_local() may call
	ia64_init() and the former must be thread-safe).

(Logical change 1.111)
2003-11-19 03:11:25 +00:00
hp.com!davidm
3cc1ec6be9 (struct ia64_global_unwind_state): Add "lock" member.
(Logical change 1.111)
2003-11-19 03:11:25 +00:00
hp.com!davidm
6b6a0079e6 Update copyright year.
Minor formatting changes.

(Logical change 1.110)
2003-11-18 21:47:51 +00:00
hp.com!davidm
c55348de6e Update copyright year.
(Logical change 1.110)
2003-11-18 21:47:51 +00:00
hp.com!davidm
6f4a4e03e3 Minor formatting changes/copyright year updates.
BKrev: 3fba93872R3ryaeRdve3QczhiBo0Pw
2003-11-18 21:47:51 +00:00
hp.com!hans_boehm
b85b2fb28f [PATCH] x86: fix unw_is_signal_frame() and unwinding across signal handlers
This patch fixes two problems: first, it makes unwinding across signal
handlers work on x86 and second it fixes unw_is_signal_frame() to work
properly when SA_SIGINFO is in effect.

BKrev: 3fba8f44PQxoVufTH31_1dmqQUZwSw
2003-11-18 21:29:40 +00:00
com[davidm]!hans_boehm
434b9ffcfe x86: fix unw_is_signal_frame() and unwinding across signal handlers
(Logical change 1.109)
2003-11-18 21:29:40 +00:00
com[davidm]!hans_boehm
864270533f Initial revision 2003-11-18 21:29:40 +00:00
hp.com!davidm
6ebda139fe Fix personality-routine lookup.
Fix segment-base calculation so it works for the Linux kernel DSO,
too.

BKrev: 3fb5f5e9Is6d_GnSjqzKQB4dkPZYjg
2003-11-15 09:46:17 +00:00
hp.com!davidm
e70d39ae8e (create_state_record_for): Drop extraneous clearing of
sr->return_link_reg.  The entire structure is getting
	cleared via memset() already!

(Logical change 1.108)
2003-11-15 09:46:17 +00:00
hp.com!davidm
656e9d6e7d (_Uia64_search_unwind_table): Correct off-by-8 error in calculating
personality-routine and LSDA address and dont' forget to
	dereference the personality-routine function-pointer, so we
	really get the address of the function-descriptor of the
	personality routine.
(callback): Set the segment-base based on the segment that contains
	the unwind-table.  Normally, that the text segment but in
	special cases, such as the kernel's gate DSO, it will be
	in a different segment.

(Logical change 1.108)
2003-11-15 09:46:17 +00:00