You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[lldb][test] Fix TestMultipleDebuggers test on non-x86, other small issues
This test has been flaky lately (llvm#101162)
and I disabled it everywhere initially.
I found that it always uses "x86_64" for the program architecture so the test
was "passing" elsewhere but I don't think it was meant to. So I have added a define
to pass on the host's architecture when compiling. This makes it work on AArch64
as well.
While I'm here I've fixed the uint64_t formatting warnings by using the defined
formats that'll work everywhere.
In addition, I found that the function names include "()" on Linux, so now we
check for "foo" or "foo()".
The test cpp file has never been formatted so I've not done that either, just
kept to the local style.
I've removed the Linux skip to see if any of this helps the timeouts, and to
verify the build command changes. If the timeouts come back I'll disable it again.
printf ("#%lld: First breakpoint did not stop at foo(), instead stopped at '%s'\n", threadnum, process.GetThreadAtIndex(0).GetFrameAtIndex(0).GetFunctionName());
154
+
printf ("#%" PRIu64 ": First breakpoint did not stop at foo(), instead stopped at '%s'\n", threadnum, process.GetThreadAtIndex(0).GetFrameAtIndex(0).GetFunctionName());
0 commit comments