[PATCH] D132119: [MC][LoongArch] Make .reloc support arbitrary relocation types

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 3 04:38:17 PST 2022


thakis added inline comments.


================
Comment at: llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s:1
+# RUN: llvm-mc --triple=loongarch64 %s |& FileCheck --check-prefix=PRINT %s
+# RUN: not llvm-mc --filetype=obj --triple=loongarch64 %s -o /dev/null |& FileCheck %s
----------------
zsh on macOS complains about `|&`:

```
/Users/thakis/src/llvm-project/out/gn/obj/llvm/test/MC/LoongArch/Relocations/Output/reloc-directive-err.s.script: line 1: syntax error near unexpected token `&'
```

I'll tweak this test, but going forward, please don't use `|&` in tests.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132119



More information about the llvm-commits mailing list