[all-commits] [llvm/llvm-project] 71f2d5: [clang] Re-enable test after marking it XFAIL

Alex Brachet via All-commits all-commits at lists.llvm.org
Mon Aug 1 15:09:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71f2d5c2d195256f27f293aefdc1d4f6c117065d
      https://github.com/llvm/llvm-project/commit/71f2d5c2d195256f27f293aefdc1d4f6c117065d
  Author: Alex Brachet <abrachet at google.com>
  Date:   2022-08-01 (Mon, 01 Aug 2022)

  Changed paths:
    M clang/test/Driver/lld-repro.c

  Log Message:
  -----------
  [clang] Re-enable test after marking it XFAIL

This test had to be disabled because ps4 targets don't support
-fuse-ld. Preferably, this should just be unsupported for ps4
targets. However no such lit feature exists so I have just gone
ahead and set the target explicitly. Moreover, this needs
to create a terminal link step, either an executable or shared
object to get the link error. With the change to the explicit
target I've had to also add -nostartfiles -nostdlib so that
clang doesn't pull crt files into the link which may not be
present. Again, this would likely be solved if this test
was unsupported for the one platform that disables -fuse-ld




More information about the All-commits mailing list