[Lldb-commits] [PATCH] D131741: [lldb] XFAIL target variable tests on Intel/Darwin when using Xcode 14

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 11 22:12:10 PDT 2022


JDevlieghere added a comment.

In D131741#3717992 <https://reviews.llvm.org/D131741#3717992>, @JDevlieghere wrote:

> In D131741#3717974 <https://reviews.llvm.org/D131741#3717974>, @jasonmolenda wrote:
>
>> We already skip these tests for arm64 & arm64e because of the chained fixups and arm64e fixups before that -- and now we're going to skip them on x86_64 if the deployment target is new enough (that's the right way to do it, not the linker version) -- I say we skip them on Darwin outright.  Pre-execution, we can't reliably view global variables, unless we talk with the ld64/dyld folks and see if we can reliably get the file offset out of these fields and work out the file address ourselves.
>
> They're XFAILed rather than skipped on Apple Silicon. We can't XFAIL them outright on Intel because the bots are running an older OS/Xcode, but you're totally right that we could skip them. I'd still like to get this working (although I'm not that motivated) once the linker folks finish upstreaming support for chained fixups in llvm. That + the fact that skipped tests bit rot much faster made me stick with XFAIL. WDYT?

After thinking about it some more, it's a lot easier to skip the test. When using Xcode 13.4 on Ventura, you'll still get the old behavior unless you explicitly raise the deployment target.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131741/new/

https://reviews.llvm.org/D131741



More information about the lldb-commits mailing list