mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
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
This commit is contained in:
@@ -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 "";
|
||||
|
||||
Reference in New Issue
Block a user