aboutsummaryrefslogtreecommitdiff
path: root/libunwind
diff options
context:
space:
mode:
Diffstat (limited to 'libunwind')
-rw-r--r--libunwind/include/__libunwind_config.h2
-rw-r--r--libunwind/include/libunwind.h2
-rw-r--r--libunwind/include/mach-o/compact_unwind_encoding.h2
-rw-r--r--libunwind/include/unwind_itanium.h2
-rw-r--r--libunwind/src/FrameHeaderCache.hpp2
-rw-r--r--libunwind/src/Registers.hpp10
-rw-r--r--libunwind/src/UnwindCursor.hpp6
-rw-r--r--libunwind/src/UnwindLevel1-gcc-ext.c2
-rw-r--r--libunwind/src/UnwindLevel1.c2
-rw-r--r--libunwind/src/libunwind.cpp4
-rw-r--r--libunwind/src/libunwind_ext.h4
11 files changed, 19 insertions, 19 deletions
diff --git a/libunwind/include/__libunwind_config.h b/libunwind/include/__libunwind_config.h
index 980d11e..a1179c7 100644
--- a/libunwind/include/__libunwind_config.h
+++ b/libunwind/include/__libunwind_config.h
@@ -9,7 +9,7 @@
#ifndef ____LIBUNWIND_CONFIG_H__
#define ____LIBUNWIND_CONFIG_H__
-#define _LIBUNWIND_VERSION 15000
+#define _LIBUNWIND_VERSION 230000
#if defined(__arm__) && !defined(__USING_SJLJ_EXCEPTIONS__) && \
!defined(__ARM_DWARF_EH__) && !defined(__SEH__)
diff --git a/libunwind/include/libunwind.h b/libunwind/include/libunwind.h
index 56ca711..6c2dfe5 100644
--- a/libunwind/include/libunwind.h
+++ b/libunwind/include/libunwind.h
@@ -122,7 +122,7 @@
__unwind_ptrauth_restricted_intptr(ptrauth_key_function_pointer, 1, \
__ptrauth_unwind_cie_info_personality_disc)
- // ptrauth_string_discriminator("personality") == 0x7EAD)
+ // ptrauth_string_discriminator("personality") == 0x7EAD
#define __ptrauth_unwind_pauthtest_personality_disc 0x7EAD
#else
diff --git a/libunwind/include/mach-o/compact_unwind_encoding.h b/libunwind/include/mach-o/compact_unwind_encoding.h
index 4c48e33..c495b83 100644
--- a/libunwind/include/mach-o/compact_unwind_encoding.h
+++ b/libunwind/include/mach-o/compact_unwind_encoding.h
@@ -443,7 +443,7 @@ struct unwind_info_section_header_lsda_index_entry
struct unwind_info_regular_second_level_entry
{
- uint32_t functionOffset;
+ uint32_t functionOffset;
compact_unwind_encoding_t encoding;
};
diff --git a/libunwind/include/unwind_itanium.h b/libunwind/include/unwind_itanium.h
index d94a618..860ad36 100644
--- a/libunwind/include/unwind_itanium.h
+++ b/libunwind/include/unwind_itanium.h
@@ -32,7 +32,7 @@ struct _Unwind_Exception {
// The implementation of _Unwind_Exception uses an attribute mode on the
// above fields which has the side effect of causing this whole struct to
// round up to 32 bytes in size (48 with SEH). To be more explicit, we add
- // pad fields added for binary compatibility.
+ // pad fields for binary compatibility.
uint32_t reserved[3];
#endif
// The Itanium ABI requires that _Unwind_Exception objects are "double-word
diff --git a/libunwind/src/FrameHeaderCache.hpp b/libunwind/src/FrameHeaderCache.hpp
index 296064d..caea29e 100644
--- a/libunwind/src/FrameHeaderCache.hpp
+++ b/libunwind/src/FrameHeaderCache.hpp
@@ -24,7 +24,7 @@
#define _LIBUNWIND_FRAMEHEADERCACHE_TRACE(msg, ...)
#endif
-// This cache should only be be used from within a dl_iterate_phdr callback.
+// This cache should only be used from within a dl_iterate_phdr callback.
// dl_iterate_phdr does the necessary synchronization to prevent problems
// with concurrent access via the libc load lock. Adding synchronization
// for other uses is possible, but not currently done.
diff --git a/libunwind/src/Registers.hpp b/libunwind/src/Registers.hpp
index 474b174..87314d8 100644
--- a/libunwind/src/Registers.hpp
+++ b/libunwind/src/Registers.hpp
@@ -1893,7 +1893,7 @@ public:
uint64_t value = _registers.__pc;
#if defined(_LIBUNWIND_TARGET_AARCH64_AUTHENTICATED_UNWINDING)
// Note the value of the PC was signed to its address in the register state
- // but everyone else expects it to be sign by the SP, so convert on return.
+ // but everyone else expects it to be signed by the SP, so convert on return.
value = (uint64_t)ptrauth_auth_and_resign((void *)_registers.__pc,
ptrauth_key_return_address,
&_registers.__pc,
@@ -3715,21 +3715,21 @@ inline void Registers_sparc::setRegister(int regNum, uint32_t value) {
inline bool Registers_sparc::validFloatRegister(int) const { return false; }
inline double Registers_sparc::getFloatRegister(int) const {
- _LIBUNWIND_ABORT("no Sparc float registers");
+ _LIBUNWIND_ABORT("no sparc float registers");
}
inline void Registers_sparc::setFloatRegister(int, double) {
- _LIBUNWIND_ABORT("no Sparc float registers");
+ _LIBUNWIND_ABORT("no sparc float registers");
}
inline bool Registers_sparc::validVectorRegister(int) const { return false; }
inline v128 Registers_sparc::getVectorRegister(int) const {
- _LIBUNWIND_ABORT("no Sparc vector registers");
+ _LIBUNWIND_ABORT("no sparc vector registers");
}
inline void Registers_sparc::setVectorRegister(int, v128) {
- _LIBUNWIND_ABORT("no Sparc vector registers");
+ _LIBUNWIND_ABORT("no sparc vector registers");
}
inline const char *Registers_sparc::getRegisterName(int regNum) {
diff --git a/libunwind/src/UnwindCursor.hpp b/libunwind/src/UnwindCursor.hpp
index 5838dbc..ff92c9e 100644
--- a/libunwind/src/UnwindCursor.hpp
+++ b/libunwind/src/UnwindCursor.hpp
@@ -963,7 +963,7 @@ template <typename A, typename R> bool UnwindCursor<A, R>::isSignalFrame() {
/// UnwindCursor contains all state (including all register values) during
/// an unwind. This is normally stack allocated inside a unw_cursor_t.
template <typename A, typename R>
-class UnwindCursor : public AbstractUnwindCursor{
+class UnwindCursor : public AbstractUnwindCursor {
typedef typename A::pint_t pint_t;
public:
UnwindCursor(unw_context_t *context, A &as);
@@ -2037,7 +2037,7 @@ bool UnwindCursor<A, R>::getInfoFromCompactEncodingSection(
if (personalityIndex != 0) {
--personalityIndex; // change 1-based to zero-based index
if (personalityIndex >= sectionHeader.personalityArrayCount()) {
- _LIBUNWIND_DEBUG_LOG("found encoding 0x%08X with personality index %d, "
+ _LIBUNWIND_DEBUG_LOG("found encoding 0x%08X with personality index %d, "
"but personality table has only %d entries",
encoding, personalityIndex,
sectionHeader.personalityArrayCount());
@@ -3256,7 +3256,7 @@ int UnwindCursor<A, R>::stepThroughSigReturn() {
template <typename A, typename R> int UnwindCursor<A, R>::step(bool stage2) {
(void)stage2;
- // Bottom of stack is defined is when unwind info cannot be found.
+ // Bottom of stack is defined when unwind info cannot be found.
if (_unwindInfoMissing)
return UNW_STEP_END;
diff --git a/libunwind/src/UnwindLevel1-gcc-ext.c b/libunwind/src/UnwindLevel1-gcc-ext.c
index 32c872f..1764499 100644
--- a/libunwind/src/UnwindLevel1-gcc-ext.c
+++ b/libunwind/src/UnwindLevel1-gcc-ext.c
@@ -284,7 +284,7 @@ _LIBUNWIND_EXPORT void __deregister_frame(const void *fde) {
// before 10.6 used keymgr to track known FDEs, but these functions
// never got updated to use keymgr.
// For now, we implement these as do-nothing functions to keep any existing
-// applications working. We also add the not in 10.6 symbol so that nwe
+// applications working. We also add the not in 10.6 symbol so that new
// application won't be able to use them.
#if defined(_LIBUNWIND_SUPPORT_FRAME_APIS)
diff --git a/libunwind/src/UnwindLevel1.c b/libunwind/src/UnwindLevel1.c
index 7368b3c..834fdae 100644
--- a/libunwind/src/UnwindLevel1.c
+++ b/libunwind/src/UnwindLevel1.c
@@ -14,7 +14,7 @@
// ARM EHABI does not specify _Unwind_{Get,Set}{GR,IP}(). Thus, we are
// defining inline functions to delegate the function calls to
// _Unwind_VRS_{Get,Set}(). However, some applications might declare the
-// function protetype directly (instead of including <unwind.h>), thus we need
+// function prototype directly (instead of including <unwind.h>), thus we need
// to export these functions from libunwind.so as well.
#define _LIBUNWIND_UNWIND_LEVEL1_EXTERNAL_LINKAGE 1
diff --git a/libunwind/src/libunwind.cpp b/libunwind/src/libunwind.cpp
index 7ffffc2..a795e68 100644
--- a/libunwind/src/libunwind.cpp
+++ b/libunwind/src/libunwind.cpp
@@ -32,7 +32,7 @@
using namespace libunwind;
-/// internal object to represent this processes address space
+/// internal object to represent this process's address space
LocalAddressSpace LocalAddressSpace::sThisAddressSpace;
_LIBUNWIND_EXPORT unw_addr_space_t unw_local_addr_space =
@@ -306,7 +306,7 @@ _LIBUNWIND_HIDDEN int __unw_is_fpreg(unw_cursor_t *cursor,
}
_LIBUNWIND_WEAK_ALIAS(__unw_is_fpreg, unw_is_fpreg)
-/// Checks if a register is a floating-point register.
+/// Get name of specified register at cursor position in stack frame.
_LIBUNWIND_HIDDEN const char *__unw_regname(unw_cursor_t *cursor,
unw_regnum_t regNum) {
_LIBUNWIND_TRACE_API("__unw_regname(cursor=%p, regNum=%d)",
diff --git a/libunwind/src/libunwind_ext.h b/libunwind/src/libunwind_ext.h
index b3762c2..8acf221 100644
--- a/libunwind/src/libunwind_ext.h
+++ b/libunwind/src/libunwind_ext.h
@@ -120,10 +120,10 @@ typedef int (*unw_find_dynamic_unwind_sections)(
extern int __unw_add_find_dynamic_unwind_sections(
unw_find_dynamic_unwind_sections find_dynamic_unwind_sections);
-// Deregister a dynacim unwind-info lookup callback.
+// Deregister a dynamic unwind-info lookup callback.
//
// Returns UNW_ESUCCESS for successful deregistrations. If the given callback
-// has already been registered then UNW_EINVAL will be returned.
+// is not present then UNW_EINVAL will be returned.
extern int __unw_remove_find_dynamic_unwind_sections(
unw_find_dynamic_unwind_sections find_dynamic_unwind_sections);