[all-commits] [llvm/llvm-project] 506022: [test] Fix tools/gold/X86/comdat-nodeduplicate.ll ...

Nathan Chancellor via All-commits all-commits at lists.llvm.org
Wed Jul 28 21:57:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5060224d9eed8b8359ed5090bb7c577b8575e9e7
      https://github.com/llvm/llvm-project/commit/5060224d9eed8b8359ed5090bb7c577b8575e9e7
  Author: Nathan Chancellor <nathan at kernel.org>
  Date:   2021-07-28 (Wed, 28 Jul 2021)

  Changed paths:
    M llvm/test/tools/gold/X86/comdat-nodeduplicate.ll

  Log Message:
  -----------
  [test] Fix tools/gold/X86/comdat-nodeduplicate.ll on non-X86 hosts

When running this test on an aarch64 machine, it fails:

```
/usr/bin/ld.gold: error: .../test/tools/gold/X86/Output/comdat-nodeduplicate.ll.tmp/ab.lto.o: incompatible target
```

Specify the elf_x86_64 emulation as all of the other gold plugin tests
do.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D107020




More information about the All-commits mailing list