From f0f99814a564d9aa2dca7e8d145d180fa29160cc Mon Sep 17 00:00:00 2001 From: Seva Alekseyev Date: Thu, 7 Sep 2023 10:09:30 -0400 Subject: [PATCH] More Apple, LLVM attributes (#497) Co-authored-by: Seva Alekseyev --- .gitignore | 1 + elftools/dwarf/enums.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3053449..999a8e4 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ dist MANIFEST *.sublime-workspace *.egg-info +.vscode diff --git a/elftools/dwarf/enums.py b/elftools/dwarf/enums.py index e00915e..bd8db2d 100644 --- a/elftools/dwarf/enums.py +++ b/elftools/dwarf/enums.py @@ -301,8 +301,9 @@ ENUM_DW_AT = dict( DW_AT_LLVM_include_path = 0x3e00, DW_AT_LLVM_config_macros = 0x3e01, - DW_AT_LLVM_isysroot = 0x3e02, + DW_AT_LLVM_isysroot = 0x3e02, # sysroot elsewhere DW_AT_LLVM_tag_offset = 0x3e03, + DW_AT_LLVM_apinotes = 0x3e07, DW_AT_APPLE_optimized = 0x3fe1, DW_AT_APPLE_flags = 0x3fe2, @@ -317,6 +318,8 @@ ENUM_DW_AT = dict( DW_AT_APPLE_property_attribute = 0x3feb, DW_AT_APPLE_objc_complete_type = 0x3fec, DW_AT_APPLE_property = 0x3fed, + DW_AT_APPLE_objc_direct = 0x3fee, + DW_AT_APPLE_sdk = 0x3fef, _default_ = Pass, ) -- 2.30.2