This patch detects when an ios process runs on a macOS host and
updates the target triple with the "simulator" environment.
This is part of https://bugs.swift.org/browse/SR-11971
rdar://problem/58438125
Differential D75696
Correctly detect iOS simulator processes. aprantl on Mar 5 2020, 9:55 AM. Authored by
Details
This patch detects when an ios process runs on a macOS host and This is part of https://bugs.swift.org/browse/SR-11971 rdar://problem/58438125
Diff Detail Event TimelineComment Actions Here is a more principled variant of the patch. I pushed the logic down to debugserver, so we don't need to guess or fixup anything in LLDB.
Comment Actions Overall looks fine, Fred's comment is correct, nb you want to test it with #if TARGET_OS_OSX == 1, it's always defined either to 0 or 1.
|
TestWasm.pys response to qProcessInfo is different than the default response you added to gdbclientutils.py; it should override the qProcessInfo method to call its own version.