Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abseil-cpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
abseil-cpp
Commits
59672bec
Unverified
Commit
59672bec
authored
Oct 08, 2021
by
Yesudeep Mangalapilly
Committed by
GitHub
Oct 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use FreeBSD macro definition for ElfW macro for compatibility. (#1037)
parent
a59b4daa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
absl/debugging/internal/elf_mem_image.h
+4
-0
absl/debugging/internal/vdso_support.cc
+5
-0
absl/debugging/symbolize_elf.inc
+4
-0
No files found.
absl/debugging/internal/elf_mem_image.h
View file @
59672bec
...
...
@@ -40,6 +40,10 @@
#include <link.h> // for ElfW
#if defined(__FreeBSD__) && !defined(ElfW)
#define ElfW(x) __ElfN(x)
#endif
namespace
absl
{
ABSL_NAMESPACE_BEGIN
namespace
debugging_internal
{
...
...
absl/debugging/internal/vdso_support.cc
View file @
59672bec
...
...
@@ -50,6 +50,11 @@
#define AT_SYSINFO_EHDR 33 // for crosstoolv10
#endif
#if defined(__FreeBSD__)
using
Elf64_auxv_t
=
Elf64_Auxinfo
;
using
Elf32_auxv_t
=
Elf32_Auxinfo
;
#endif
namespace
absl
{
ABSL_NAMESPACE_BEGIN
namespace
debugging_internal
{
...
...
absl/debugging/symbolize_elf.inc
View file @
59672bec
...
...
@@ -77,6 +77,10 @@
#include "absl/debugging/internal/vdso_support.h"
#include "absl/strings/string_view.h"
#if defined(__FreeBSD__) && !defined(ElfW)
#define ElfW(x) __ElfN(x)
#endif
namespace
absl
{
ABSL_NAMESPACE_BEGIN
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment