[Lldb-commits] [lldb] [lldb][test] Make Linux cpuinfo check more robust (PR #160675)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 26 01:30:35 PDT 2025
================
@@ -39,9 +39,16 @@ def _is_supported_linux(self, cmd_runner):
if err.Fail() or retcode != 0:
return output, False
- # FIXME: simple substring match, e.g., test for 'sme' will be true if
- # 'sme2' or 'smefa64' is present
- return None, (self.cpu_info_flag in output)
+ # Assume that every processor presents the same features.
+ # Look for the first "Features: ...." line.
----------------
DavidSpickett wrote:
Done.
https://github.com/llvm/llvm-project/pull/160675
More information about the lldb-commits
mailing list