diff options
author | Devang Patel <dpatel@apple.com> | 2009-02-17 22:43:44 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-02-17 22:43:44 +0000 |
commit | 13319ceffdd99d153e62011c5dda08b95e3279e3 (patch) | |
tree | 2dd5941ede80a7006db04096651c6c048d7d6c2d /lib/Support/Dwarf.cpp | |
parent | fdc40a0a696c658d550d894ea03772e5f8af2c94 (diff) |
The debugger sometimes lookup dynamically in the runtime to find ivar info of any Objective-C classes. It would be very helpful to debugger if the compiler encodes runtime version number in DWARF.
Add support for two additional DWARF attributes to encode Objective-C runtime version number.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64834 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Dwarf.cpp')
-rw-r--r-- | lib/Support/Dwarf.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/Dwarf.cpp b/lib/Support/Dwarf.cpp index 10a2c3c64f..67bd1b44a1 100644 --- a/lib/Support/Dwarf.cpp +++ b/lib/Support/Dwarf.cpp @@ -200,6 +200,8 @@ const char *AttributeString(unsigned Attribute) { case DW_AT_hi_user: return "DW_AT_hi_user"; case DW_AT_APPLE_optimized: return "DW_AT_APPLE_optimized"; case DW_AT_APPLE_flags: return "DW_AT_APPLE_flags"; + case DW_AT_APPLE_major_runtime_vers: return "DW_AT_APPLE_major_runtime_vers"; + case DW_AT_APPLE_runtime_class: return "DW_AT_APPLE_runtime_class"; } assert(0 && "Unknown Dwarf Attribute"); return ""; |