Skip to content

Commit 83750dd

Browse files
committed
[lldb] 167388 chore: add api to return arch name for target: add arch_name readonly property to the binding
Signed-off-by: Nikita B <[email protected]>
1 parent 0c966e6 commit 83750dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/bindings/interface/SBTargetExtensions.i

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ STRING_EXTENSION_LEVEL_OUTSIDE(SBTarget, lldb::eDescriptionLevelBrief)
190190
byte_order = property(GetByteOrder, None, doc='''A read only property that returns an lldb enumeration value (lldb.eByteOrderLittle, lldb.eByteOrderBig, lldb.eByteOrderInvalid) that represents the byte order for this target.''')
191191
addr_size = property(GetAddressByteSize, None, doc='''A read only property that returns the size in bytes of an address for this target.''')
192192
triple = property(GetTriple, None, doc='''A read only property that returns the target triple (arch-vendor-os) for this target as a string.''')
193+
arch_name = property(GetArchName, None, doc='''A read only property that returns the architecture name for this target as a string.''')
193194
data_byte_size = property(GetDataByteSize, None, doc='''A read only property that returns the size in host bytes of a byte in the data address space for this target.''')
194195
code_byte_size = property(GetCodeByteSize, None, doc='''A read only property that returns the size in host bytes of a byte in the code address space for this target.''')
195196
platform = property(GetPlatform, None, doc='''A read only property that returns the platform associated with with this target.''')

0 commit comments

Comments
 (0)