aboutsummaryrefslogtreecommitdiff
path: root/absl/debugging/internal
diff options
context:
space:
mode:
authorCopybara-Service <copybara-worker@google.com>2023-05-01 12:43:41 -0700
committerCopybara-Service <copybara-worker@google.com>2023-05-01 12:43:41 -0700
commit201c426c122a779382208c9347b35fd696cc3a3c (patch)
tree0231ec20d7bd2625782f5c6cd94ac837ce6bb874 /absl/debugging/internal
parente9a7eea615352e2f74c13585a4b031f868b3bfa7 (diff)
parent9c32e50df8e7bbd777c64107e7580ed434f003c0 (diff)
downloadabseil-201c426c122a779382208c9347b35fd696cc3a3c.tar.gz
abseil-201c426c122a779382208c9347b35fd696cc3a3c.tar.bz2
abseil-201c426c122a779382208c9347b35fd696cc3a3c.zip
Merge pull request #1438 from Vertexwahn:fix-spelling
PiperOrigin-RevId: 528547013 Change-Id: I9b57ee062ef666d6a34696778ff16a46c5ccb17d
Diffstat (limited to 'absl/debugging/internal')
-rw-r--r--absl/debugging/internal/demangle_test.cc2
-rw-r--r--absl/debugging/internal/stacktrace_aarch64-inl.inc2
-rw-r--r--absl/debugging/internal/stacktrace_powerpc-inl.inc2
3 files changed, 3 insertions, 3 deletions
diff --git a/absl/debugging/internal/demangle_test.cc b/absl/debugging/internal/demangle_test.cc
index 8463a2b7..2fa4143a 100644
--- a/absl/debugging/internal/demangle_test.cc
+++ b/absl/debugging/internal/demangle_test.cc
@@ -38,7 +38,7 @@ static const char *DemangleIt(const char * const mangled) {
}
}
-// Test corner cases of bounary conditions.
+// Test corner cases of boundary conditions.
TEST(Demangle, CornerCases) {
char tmp[10];
EXPECT_TRUE(Demangle("_Z6foobarv", tmp, sizeof(tmp)));
diff --git a/absl/debugging/internal/stacktrace_aarch64-inl.inc b/absl/debugging/internal/stacktrace_aarch64-inl.inc
index 4fc87f51..b66beba2 100644
--- a/absl/debugging/internal/stacktrace_aarch64-inl.inc
+++ b/absl/debugging/internal/stacktrace_aarch64-inl.inc
@@ -144,7 +144,7 @@ static int UnwindImpl(void** result, int* sizes, int max_depth, int skip_count,
// The frame pointer points to low address of a frame. The first 64-bit
// word of a frame points to the next frame up the call chain, which normally
// is just after the high address of the current frame. The second word of
- // a frame contains return adress of to the caller. To find a pc value
+ // a frame contains return address of to the caller. To find a pc value
// associated with the current frame, we need to go down a level in the call
// chain. So we remember return the address of the last frame seen. This
// does not work for the first stack frame, which belongs to UnwindImp() but
diff --git a/absl/debugging/internal/stacktrace_powerpc-inl.inc b/absl/debugging/internal/stacktrace_powerpc-inl.inc
index 085cef67..a49ed2f7 100644
--- a/absl/debugging/internal/stacktrace_powerpc-inl.inc
+++ b/absl/debugging/internal/stacktrace_powerpc-inl.inc
@@ -57,7 +57,7 @@ static inline void *StacktracePowerPCGetLR(void **sp) {
// This check is in case the compiler doesn't define _CALL_SYSV.
return *(sp+1);
#else
-#error Need to specify the PPC ABI for your archiecture.
+#error Need to specify the PPC ABI for your architecture.
#endif
}