Commit fd2065b
committed
Have GetSupportedArchitectures report all supported arches
PlatformDarwinKernel::GetSupportedArchitectures returns a list
of architectures that are possible for this platform; it was using
a compile-time check for the debug host to decide the list of arches
that were valid. This was copied from a codepath doing native process
debugging, and was clearly wrong for kernel debugging, but it had
not happened to cause problems so it went unnoticed for a long time.
Small NFC change to the logging messages of Target::SetArchitecture
to make them a little more explicit about how the architecture is
being modified/replaced.
Differential Revision: https://reviews.llvm.org/D137301
rdar://1016901111 parent 7e133eb commit fd2065b
File tree
2 files changed
+12
-8
lines changed- lldb/source
- Plugins/Platform/MacOSX
- Target
2 files changed
+12
-8
lines changedLines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
986 | 986 | | |
987 | 987 | | |
988 | 988 | | |
989 | | - | |
990 | 989 | | |
991 | | - | |
992 | 990 | | |
993 | | - | |
994 | 991 | | |
995 | 992 | | |
996 | 993 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1436 | 1436 | | |
1437 | 1437 | | |
1438 | 1438 | | |
1439 | | - | |
| 1439 | + | |
| 1440 | + | |
1440 | 1441 | | |
1441 | 1442 | | |
1442 | 1443 | | |
| |||
1536 | 1537 | | |
1537 | 1538 | | |
1538 | 1539 | | |
1539 | | - | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
1540 | 1543 | | |
1541 | 1544 | | |
1542 | 1545 | | |
1543 | 1546 | | |
1544 | 1547 | | |
1545 | 1548 | | |
1546 | 1549 | | |
1547 | | - | |
1548 | | - | |
1549 | | - | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
1550 | 1557 | | |
1551 | 1558 | | |
1552 | 1559 | | |
| |||
0 commit comments