From 14e199e1f2edeecc5789e3ce10dbd5de7fd86441 Mon Sep 17 00:00:00 2001 From: Adeel Mujahid <3840695+am11@users.noreply.github.com> Date: Fri, 5 Aug 2022 03:14:42 +0300 Subject: Fix typos (#397) * Fix typos * Cleanup trailing whitespaces in committed files * Update include/tdep-ia64/libunwind_i.h --- tests/crasher.c | 4 ++-- tests/x64-test-dwarf-expressions.S | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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 -- cgit v1.2.1