10
10
.../build/Linux/include/llvm/Config/config.h | 2 +-
11
11
2 files changed, 7 insertions(+), 7 deletions(-)
12
12
13
- diff --git a/base/debug/stack_trace_posix.cc b/base/debug/stack_trace_posix.cc
14
- index bf4b854298..da07416e38 100644
15
13
--- a/base/debug/stack_trace_posix.cc
16
14
+++ b/base/debug/stack_trace_posix.cc
17
15
@@ -27,7 +27,7 @@
@@ -23,7 +21,7 @@ index bf4b854298..da07416e38 100644
23
21
#include <execinfo.h>
24
22
#endif
25
23
26
- @@ -88 ,7 +88 ,7 @@ void DemangleSymbols(std::string* text) {
24
+ @@ -89 ,7 +89 ,7 @@ void DemangleSymbols(std::string* text)
27
25
// Note: code in this function is NOT async-signal safe (std::string uses
28
26
// malloc internally).
29
27
@@ -32,7 +30,7 @@ index bf4b854298..da07416e38 100644
32
30
std::string::size_type search_from = 0;
33
31
while (search_from < text->size()) {
34
32
// Look for the start of a mangled symbol, from search_from.
35
- @@ -135 ,7 +135 ,7 @@ class BacktraceOutputHandler {
33
+ @@ -136 ,7 +136 ,7 @@ class BacktraceOutputHandler {
36
34
virtual ~BacktraceOutputHandler() = default;
37
35
};
38
36
@@ -41,16 +39,16 @@ index bf4b854298..da07416e38 100644
41
39
void OutputPointer(void* pointer, BacktraceOutputHandler* handler) {
42
40
// This should be more than enough to store a 64-bit number in hex:
43
41
// 16 hex digits + 1 for null-terminator.
44
- @@ -827 ,7 +827 ,7 @@ size_t CollectStackTrace(void** trace, size_t count) {
45
- // NOTE: This code MUST be async-signal safe (it's used by in-process
46
- // stack dumping signal handler). NO malloc or stdio is allowed here.
47
-
48
- - #if !defined(__UCLIBC__) && !defined(_AIX)
49
- + #if !defined(__UCLIBC__) && defined(__GLIBC__) && !defined(_AIX)
42
+ @@ -839 ,7 +839 ,7 @@ size_t CollectStackTrace(void** trace, s
43
+ // If we do not have unwind tables, then try tracing using frame pointers.
44
+ return base::debug::TraceStackFramePointers(const_cast<const void**>(trace),
45
+ count, 0);
46
+ - #elif !defined(__UCLIBC__) && !defined(_AIX)
47
+ + #elif !defined(__UCLIBC__) && defined(__GLIBC__) && !defined(_AIX)
50
48
// Though the backtrace API man page does not list any possible negative
51
49
// return values, we take no chance.
52
50
return base::saturated_cast<size_t>(backtrace(trace, count));
53
- @@ -840 ,13 +840 ,13 @@ void StackTrace::PrintWithPrefix(const char* prefix_string) const {
51
+ @@ -852 ,13 +852 ,13 @@ void StackTrace::PrintWithPrefix(const c
54
52
// NOTE: This code MUST be async-signal safe (it's used by in-process
55
53
// stack dumping signal handler). NO malloc or stdio is allowed here.
56
54
@@ -66,8 +64,6 @@ index bf4b854298..da07416e38 100644
66
64
void StackTrace::OutputToStreamWithPrefix(std::ostream* os,
67
65
const char* prefix_string) const {
68
66
StreamBacktraceOutputHandler handler(os);
69
- diff --git a/third_party/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/Config/config.h b/third_party/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/Config/config.h
70
- index d99a22ad1b..c317645ce8 100644
71
67
--- a/third_party/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/Config/config.h
72
68
+++ b/third_party/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/Config/config.h
73
69
@@ -55,7 +55,7 @@
0 commit comments