summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAdeel Mujahid <3840695+am11@users.noreply.github.com>2022-08-05 03:14:42 +0300
committerGitHub <noreply@github.com>2022-08-04 20:14:42 -0400
commit14e199e1f2edeecc5789e3ce10dbd5de7fd86441 (patch)
treefd2abf68218469cad11dd9bc8f28f451a76f185b /tests
parent919da2e0c42e6e4a3b3da63001863e586787fab4 (diff)
downloadlibunwind-14e199e1f2edeecc5789e3ce10dbd5de7fd86441.tar.gz
Fix typos (#397)
* Fix typos * Cleanup trailing whitespaces in committed files * Update include/tdep-ia64/libunwind_i.h
Diffstat (limited to 'tests')
-rw-r--r--tests/crasher.c4
-rw-r--r--tests/x64-test-dwarf-expressions.S2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/crasher.c b/tests/crasher.c
index bb99e339..e19e2d69 100644
--- a/tests/crasher.c
+++ b/tests/crasher.c
@@ -88,7 +88,7 @@ write_maps(char *fname)
#ifdef __GNUC__
#ifndef __clang__
-// Gcc >= 8 became too good at inlining aliase c into b when using -O2 or -O3,
+// Gcc >= 8 became too good at inlining alias c into b when using -O2 or -O3,
// so force -O1 in all cases, otherwise a frame will be missing in the tests.
#pragma GCC optimize "-O1"
#endif
@@ -110,7 +110,7 @@ int NOINLINE b(int x)
int r;
compiler_barrier();
-
+
if (x)
r = a();
else
diff --git a/tests/x64-test-dwarf-expressions.S b/tests/x64-test-dwarf-expressions.S
index f275625d..19ebc9d4 100644
--- a/tests/x64-test-dwarf-expressions.S
+++ b/tests/x64-test-dwarf-expressions.S
@@ -64,7 +64,7 @@ DW_CFA_expression_inner:
# DW_CFA_expression(0x10), r12(0x0c), Length(0x02), (preamble)
# DW_OP_lit16(0x40), DW_OP_minus(0x1c) (instructions)
# Parsing starts with the CFA on the stack, then pushes 16, then does a minus
- # which is eqivalent to a=pop(), b=pop(), push(b-a), leaving us with a value
+ # which is equivalent to a=pop(), b=pop(), push(b-a), leaving us with a value
# of cfa-16 (cfa points at old rsp, cfa-8 is our rip, so we stored r12 at
# cfa-16).
xor %r12, %r12 # Trash r12