- 19 Oct, 2016 11 commits
-
-
Fumitoshi Ukai authored
cmake: allow to disable building unit tests
-
Sergiu Deitsch authored
This commit introduces a CMake `BUILD_TESTING` boolean option that allows to disable unit tests. This is especially useful in superbuilds where typically only the main library is built. By default, this option is enabled.
-
Fumitoshi Ukai authored
try to avoid the error "conflicting declaration 'typedef DWORD pthread_t'" etc. in MinGW
-
Fumitoshi Ukai authored
-
Fumitoshi Ukai authored
Set sinks_ to NULL after deletion in LogDestination::DeleteLogDestinations
-
Fumitoshi Ukai authored
-
Fumitoshi Ukai authored
Fix autotools build.
-
Fumitoshi Ukai authored
Added $<BUILD_INTERFACE> to gflags include directory
-
Fumitoshi Ukai authored
-
Fumitoshi Ukai authored
cmake: enable position independent code (PIC)
-
Fumitoshi Ukai authored
cmake: fixed clang warning propagation to gcc
-
- 07 Oct, 2016 2 commits
-
-
Sergiu Deitsch authored
-
Sergiu Deitsch authored
-
- 03 Oct, 2016 1 commit
-
-
MiniLight authored
pthread_t'" etc.
-
- 11 Sep, 2016 1 commit
-
-
Andy Ying authored
-
- 14 Jul, 2016 2 commits
-
-
Fumitoshi Ukai authored
-
Fumitoshi Ukai authored
symbolize: Calculate a module's zero VA using program headers.
-
- 23 Jun, 2016 2 commits
-
-
Peter Collingbourne authored
It looks like commit 3c49b932 modified the auto-generated file src/config.h.in to add a definition of macro GOOGLE_GLOG_DLL_DECL. One of the autotools reverts this change upon running "make", causing the build to fail when a source file includes demangle.h. To fix the problem, revert the change to src/config.h.in and include glog/logging.h from demangle.h which provides a definition of that macro.
-
Peter Collingbourne authored
Previously we were using a module's "start address", i.e. the address at which the module's executable region was mapped, as the zero virtual address, i.e. the address from which the DSO's virtual addresses are calculated. This works fine for DSOs created by the bfd and gold linkers, which will emit a PT_LOAD directive into the program header which loads the executable region at virtual address (p_vaddr) and file offset (p_offset) 0. However, the lld linker may place a read-only region before the executable region, meaning that both p_vaddr and p_offset for the executable region are non-zero. This means that any symbols resolved by the symbolizer are resolved to an incorrect virtual address. To correctly calculate the address corresponding to virtual address zero, we need to take into account p_vaddr and p_offset. Specifically, the calculation starts with the "base address", i.e. the start address minus the file offset. To get from the base address to virtual address zero, we first add p_offset. This gives us the mapped address of the start of the segment, or in other words the mapped address corresponding to the virtual address of the segment. (Note that this is distinct from the start address, as p_offset is not guaranteed to be page aligned.) We then subtract p_vaddr, which takes us to virtual address zero.
-
- 15 Apr, 2016 1 commit
-
-
Fumitoshi Ukai authored
Allow permission line in /proc/self/map to be "rwx", not just "r-x".
-
- 13 Apr, 2016 2 commits
-
-
Fumitoshi Ukai authored
Added support for PowerPC.
-
Fumitoshi Ukai authored
Better support and documentation for CMake projects that consume glog
-
- 11 Apr, 2016 1 commit
-
-
Yaz Saito on W541 authored
least in Ubuntu14, a binary file that's writable by the process owner has permission "rwx", not "r-x".
-
- 05 Apr, 2016 1 commit
-
-
Guillaume Dumont authored
Added $<BUILD_INTERFACE> to gflags include to avoid including the gflags include dir in the glog-targets.cmake
-
- 31 Mar, 2016 2 commits
-
-
Fumitoshi Ukai authored
Update src/windows/glog/logging.h to ToT
-
mayah authored
src/windows/glog/logging.h is not generated by the current source. Let me run src/windows/preprocess.sh and update the source.
-
- 21 Mar, 2016 1 commit
-
-
Abhishek Dasgupta authored
-
- 08 Jan, 2016 2 commits
-
-
Sergiu Dotenco authored
-
Sergiu Dotenco authored
-
- 17 Dec, 2015 4 commits
-
-
Fumitoshi Ukai authored
only signalhandler_unittest.cc uses "using namespace gflags". others use "using namespace GFLAGS_NAMESPACE", so signalhandler_unittest.cc does the same way. fixes #62
-
Fumitoshi Ukai authored
The POSIX function fdopen is deprecated. Use the ISO C++ conformant _fdopen instead. https://msdn.microsoft.com/library/ms235351.aspx fixes #73
-
Fumitoshi Ukai authored
FAILED macro is for HRESULT, not for HANDLE. FindFirstFile returns INVALID_HANDLE_VALUE when error or not found. https://msdn.microsoft.com/library/windows/desktop/aa364418(v=vs.85).aspx fixes #79
-
Fumitoshi Ukai authored
FlushLogFilesUnsafe would be called in FailureSignalHandler, so should avoid calling new/malloc, which are not signal safe. fixes #78
-
- 27 Nov, 2015 1 commit
-
-
Fumitoshi Ukai authored
Reset SIGABRT action only if FailureSignalHandler is installed.
-
- 26 Nov, 2015 1 commit
-
-
Yoshisato Yanagisawa authored
When I set my own signal handler to SIGABRT, it did not executed with CHECK. That is because SIGABRT handler is reset to default just before glog calls abort. Let me make it reset only if the handler is what glog installed i.e. FailureSignalHandler.
-
- 10 Nov, 2015 3 commits
-
-
Fumitoshi Ukai authored
Fix missing public include directory
-
Fumitoshi Ukai authored
Fix double-free in unit test on Windows.
-
Fumitoshi Ukai authored
Link libpthread when necessary in CMake builds
-
- 08 Sep, 2015 1 commit
-
-
Ruslan Baratov authored
Path "<prefix>/include" will not be added to the headers search of dependent targets without specifying INSTALL_INTERFACE, i.e. compilation will fail with error: "fatal error: 'glog/logging.h' file not found".
-
- 06 Sep, 2015 1 commit
-
-
Nate Rosenblum authored
-