Commit Graph

23 Commits

Author SHA1 Message Date
Sergiu Deitsch
1a4c47a749
Merge pull request #88 from kekstee/master
Respect configured docdir
2019-10-31 22:56:05 +01:00
王振华 (WANG Zhenhua)
293a38cc46 build: remove NEWS realated things
With automake GNU standard relaxed, these are no longer needed.
2018-12-19 12:02:35 +00:00
王振华 (WANG Zhenhua)
1231a37f0b automake: relax GNU standard directory style
GNU standard assumes `README` under root dir, while PR #403
didn't fix the building issue exactually.
https://www.gnu.org/software/automake/manual/html_node/List-of-Automake-options.html
2018-12-18 06:50:44 +00:00
NeroBurner
e3738a25ec update README.md filename in Makefile.am 2018-12-12 13:34:44 +01:00
Peter Collingbourne
c4d37a78cc Compute base addresses from program headers while reading /proc/self/maps.
We previously had logic to compute the base address from program
headers as part of symbolization. The problem is that we need a correct
base address earlier in order to adjust a PC into the image's address
space, as these addresses can appear in unsymbolized output.

There was previously an assumption that only the mapping that
was lowest in the address space did not need to be adjusted. This
assumption is not guaranteed (for example, the kernel may choose to
map an ET_DYN lowest) and in fact turned out to be wrong in binaries
linked with lld because the first mapping is read-only.

The solution is to move the program header reading logic into the
code that reads /proc/self/maps.

There is a change in semantics for clients that install a callback
using the InstallSymbolizeOpenObjectFileCallback function. Any such
clients will need to return a correct base address from the callback
by reading program headers using code similar to that in the function
OpenObjectFileContainingPcAndGetStartAddress.
2017-11-08 14:15:02 -08:00
Alexander Scheuermann
d68736bc1d Respect configured docdir
Avoid overriding the configured docdir inside the Makefile.
$(datarootdir)/doc/ may differ from $(prefix)/share/doc/
2016-03-04 08:55:28 +01:00
Fumitoshi Ukai
3b0372bd70 glog: release 0.3.4
migrate to https://github.com/google/glog
use autoconf 2.69 / automake 1.14.1
2015-03-09 11:45:07 +09:00
478a80caa0 Attempt to improve mingw-w64 support
- Set -Isrc/windows for mingw
- Check existence of sigaction, pread, and pwrite
- Provide alternative implementation of pread and pwrite
- Eliminate symlink code for OS_WINDOWS
- Don't check /proc/self/fd if the OS isn't linux
- Don't use MSVC specific declarations in port.h for mingw



git-svn-id: https://google-glog.googlecode.com/svn/trunk@135 eb4d4688-79bd-11dd-afb4-1d65580434c0
2013-02-18 10:56:53 +00:00
cba9095278 Remove .svn directory from the release archive
packages/deb is a directory and it may contain .svn



git-svn-id: https://google-glog.googlecode.com/svn/trunk@133 eb4d4688-79bd-11dd-afb4-1d65580434c0
2013-02-01 06:31:49 +00:00
475ec9b9c4 Add --disable-rtti
git-svn-id: https://google-glog.googlecode.com/svn/trunk@109 eb4d4688-79bd-11dd-afb4-1d65580434c0
2012-02-24 07:28:50 +00:00
204ef03af8 Add files left behind by certain tests to CLEANFILES.
Remove autogen.sh, since you can just use autoreconf instead.

Ran autoreconf and fixed a couple of issues that popped up in
configure.ac and m4/ac_rwlock.m4.  This updates the configuration
files to automake/aclocal 1.11.1 (from 1.10.1) and to autoconf 2.65
(from 2.61).


git-svn-id: https://google-glog.googlecode.com/svn/trunk@93 eb4d4688-79bd-11dd-afb4-1d65580434c0
2011-05-11 02:47:46 +00:00
98b018f44b test binaries are in the builddir, not the top_srcdir
http://codereview.appspot.com/989043/show



git-svn-id: https://google-glog.googlecode.com/svn/trunk@77 eb4d4688-79bd-11dd-afb4-1d65580434c0
2010-05-14 21:45:05 +00:00
f0f26f1ee0 Utilize AM_CXXFLAGS.
git-svn-id: https://google-glog.googlecode.com/svn/trunk@53 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-07-08 15:30:26 +00:00
e334c48314 Generation of pkg-config metadata file.
Thanks Tomasz for this contribution!


git-svn-id: https://google-glog.googlecode.com/svn/trunk@46 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-04-10 05:49:58 +00:00
315d590cdc Apply patch given by maw (thanks!). The patch was modified a bit using AC_ARG_WITH.
- Fix build problems when building with gtest.
- --with-gflags support.


git-svn-id: https://google-glog.googlecode.com/svn/trunk@42 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-04-07 06:33:09 +00:00
0b79295aa9 Add mock-log.h into distribution.
git-svn-id: https://google-glog.googlecode.com/svn/trunk@37 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-01-23 22:50:55 +00:00
f97a7c7332 Add README.windows, based on google-perftools'.
git-svn-id: https://google-glog.googlecode.com/svn/trunk@35 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-01-23 19:01:22 +00:00
eecffc5aa5 Introduce mock-log.h for unittests.
git-svn-id: https://google-glog.googlecode.com/svn/trunk@28 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-01-13 11:49:10 +00:00
cc27d6aa59 Use gtest and gmock if installed.
git-svn-id: https://google-glog.googlecode.com/svn/trunk@26 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-01-05 06:05:01 +00:00
afd586a5d5 Initial windows support. Now we don't have the stacktrace and several unittests.
git-svn-id: https://google-glog.googlecode.com/svn/trunk@23 eb4d4688-79bd-11dd-afb4-1d65580434c0
2008-12-19 15:20:40 +00:00
f9b58c5198 Re-organize the way to produce stacktrace.
Since we introduced the API to set signal handler and print a
stacktrace, we should avoid glibc's backtrace, which may call malloc.
Basically, we choose the way to produce a stacktrace as same as
perftools.

Also, I removed GetStackFrames, which is not used and not implemented
with glibc.


git-svn-id: https://google-glog.googlecode.com/svn/trunk@16 eb4d4688-79bd-11dd-afb4-1d65580434c0
2008-11-17 07:58:10 +00:00
91d9fd8814 Add InstallFailureSignalHandler(). The function installs a signal handler that
will dump useful information when the program crashes on certain signals such
as SIGSEGV.
Also, changed the version of autoconf (2.59 => 2.61).


git-svn-id: https://google-glog.googlecode.com/svn/trunk@11 eb4d4688-79bd-11dd-afb4-1d65580434c0
2008-10-30 10:33:45 +00:00
b8b4db46fe glog 0.1
git-svn-id: https://google-glog.googlecode.com/svn/trunk@2 eb4d4688-79bd-11dd-afb4-1d65580434c0
2008-10-07 05:43:05 +00:00