[lld] [NFC][lld-macho] Generate test bodies for icf-safe-thunk tests (PR #111927)

Ellis Hoag via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 10:42:52 PDT 2024


================
@@ -1,115 +1,104 @@
+; NOTE: Code has been autogenerated by utils/update_test_body.py
----------------
ellishg wrote:

You just need to run the script with the lit tests as the arguments. You also need to make sure to set `PATH` so that it uses your just-built `clang`. This is explained in the docs.

```
PATH=build/bin:$PATH llvm/utils/update_test_body.py lld/test/MachO/icf-safe-thunks{,-dwarf}.ll
```

https://llvm.org/docs/TestingGuide.html#elaborated-tests

https://github.com/llvm/llvm-project/pull/111927


More information about the llvm-commits mailing list