summaryrefslogtreecommitdiff
path: root/src/x86_64/Gglobal.c
Commit message (Collapse)AuthorAgeFilesLines
* Apply `define_lock()'Tommi Rantala2012-09-281-1/+1
| | | | We have a nice macro for defining pthread mutexes, use it.
* Constify `dwarf_to_unw_regnum_map'Tommi Rantala2012-09-281-1/+1
|
* Invert tdep_init() flag logicTommi Rantala2012-09-281-3/+3
| | | | | Invert the flag that signals that tdep_init() was called, to move the symbol from data to BSS.
* PATCH: fix build with --enable-msabi-supportariel.burton@roguewave.com2012-09-151-0/+1
| | | | | | | This attached patch, relative to libuninwd-1.0.1, will fix building with --enable-msabi-support on linux x86_64. Ariel Burton
* Handle register nums > 16 on x86_64Arun Sharma2011-06-181-2/+20
| | | | | gcc generates them when using ms-abi. Support disabled by default since it increases the cache footprint of the library.
* Auto-detect whether to use msync() or mincore() for address validation.Lassi Tuura2011-03-241-0/+2
|
* Allow caller to block signals.Paul Pluzhnikov2009-09-251-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Greetings, We use libunwind just for stack traces (I suspect many others do as well). The use pattern is: GetStackTrace(void** result, int max_depth) { ... unw_getcontext(&uc); unw_init_local(&cursor, &uc); while (n < max_depth) { if (unw_get_reg(&cursor, UNW_REG_IP, (unw_word_t *) &ip) < 0) { break; } result[n++] = ip; if (unw_step(&cursor) <= 0) { break; } } Given this usage, it is quite convenient for us to block signals (or prevent signal handlers from re-entering libunwind by other means) at the "top level", which makes most of the sigprocmask calls performed by libunwind itself unneccessary. The second patch in this series adds a configure option which removes most of the sigprocmask calls. Attached patch is a preliminary for it -- consolidating all of the "sigprocmask; mutex_lock;" sequences into lock_acquire and "mutex_unlock; sigprocmask;" sequences into lock_release. Thanks, -- Paul Pluzhnikov commit 402d15b123d54a7669db7cf17a76dd315094e472 Author: Paul Pluzhnikov <ppluzhnikov@google.com> Date: Mon Sep 21 10:18:28 2009 -0700 Replace "sigprocmask + mutext_lock" with a single lock_acquire. Likewise, replace "mutext_unlock + sigprocmask" with lock_release.
* Adjust for sigset_t to intrmask_t renaming.mostang.com!davidm2005-05-031-5/+5
| | | | (Logical change 1.290)
* (Logical change 1.249)ibm.com!masbock2004-08-191-0/+83
|
* Initial revisionibm.com!masbock2004-08-191-0/+0