Skip to content

Commit 58f4801

Browse files
authored
[lldb] Add support for x86_64h to scripted process (#145099)
This patch adds support to the haswell sub-architecture (x86_64h) to scripted processes. rdar://147208252 Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
1 parent 6110dea commit 58f4801

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/examples/python/templates/scripted_process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def get_stackframes(self):
352352
def get_register_info(self):
353353
if self.register_info is None:
354354
self.register_info = dict()
355-
if self.originating_process.arch == "x86_64":
355+
if "x86_64" in self.originating_process.arch:
356356
self.register_info["sets"] = ["General Purpose Registers"]
357357
self.register_info["registers"] = INTEL64_GPR
358358
elif (

lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/a.out.ips

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
},
170170
{
171171
"source" : "P",
172-
"arch" : "x86_64",
172+
"arch" : "x86_64h",
173173
"base" : 140733734899712,
174174
"size" : 245760,
175175
"uuid" : "c5caf30b-0617-3b07-88c7-6319cd06f30a",

0 commit comments

Comments
 (0)