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
b876d861
Commit
b876d861
authored
Aug 01, 2018
by
Derek Mauro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak pull request #152 to fix multiple define problem with ppc64le.
parent
5a85c652
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
absl/debugging/internal/stacktrace_powerpc-inl.inc
+5
-2
No files found.
absl/debugging/internal/stacktrace_powerpc-inl.inc
View file @
b876d861
...
...
@@ -31,6 +31,8 @@
#include <cstdint>
#include <cstdio>
#include "absl/base/attributes.h"
#include "absl/base/optimization.h"
#include "absl/base/port.h"
#include "absl/debugging/stacktrace.h"
#include "absl/debugging/internal/address_is_readable.h"
...
...
@@ -150,8 +152,9 @@ static void **NextStackFrame(void **old_sp, const void *uc) {
}
// This ensures that absl::GetStackTrace sets up the Link Register properly.
void
AbslStacktracePowerPCDummyFunction
()
__attribute__
((
noinline
));
void
AbslStacktracePowerPCDummyFunction
()
{
__asm__
volatile
(
""
);
}
ABSL_ATTRIBUTE_NOINLINE
static
void
AbslStacktracePowerPCDummyFunction
()
{
ABSL_BLOCK_TAIL_CALL_OPTIMIZATION
();
}
template
<
bool
IS_STACK_FRAMES
,
bool
IS_WITH_CONTEXT
>
ABSL_ATTRIBUTE_NO_SANITIZE_ADDRESS
// May read random elements from stack.
...
...
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