Skip to content

Commit 2fd4d92

Browse files
committed
[LLDB] Define AUXV_AT_HWCAP2 in AuxVector.h
This patch defines AUXV_AT_HWCAP2 for accessing Aux extensions.
1 parent b45020c commit 2fd4d92

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lldb/source/Plugins/Process/Utility/AuxVector.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ const char *AuxVector::GetEntryName(EntryType type) const {
8282
case ENTRY_NAME(AUXV_AT_SECURE); break;
8383
case ENTRY_NAME(AUXV_AT_BASE_PLATFORM); break;
8484
case ENTRY_NAME(AUXV_AT_RANDOM); break;
85+
case ENTRY_NAME(AUXV_AT_HWCAP2); break;
8586
case ENTRY_NAME(AUXV_AT_EXECFN); break;
8687
case ENTRY_NAME(AUXV_AT_SYSINFO); break;
8788
case ENTRY_NAME(AUXV_AT_SYSINFO_EHDR); break;

lldb/source/Plugins/Process/Utility/AuxVector.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ class AuxVector {
5050
AUXV_AT_SECURE = 23, ///< Boolean, was exec setuid-like?
5151
AUXV_AT_BASE_PLATFORM = 24, ///< String identifying real platforms.
5252
AUXV_AT_RANDOM = 25, ///< Address of 16 random bytes.
53+
AUXV_AT_HWCAP2 = 26, ///< Extension of AT_HWCAP.
5354
AUXV_AT_EXECFN = 31, ///< Filename of executable.
5455
AUXV_AT_SYSINFO = 32, ///< Pointer to the global system page used for system
5556
/// calls and other nice things.

0 commit comments

Comments
 (0)