[all-commits] [llvm/llvm-project] ed5072: [NFC][lld-macho] Generate test bodies for icf-safe...

Ellis Hoag via All-commits all-commits at lists.llvm.org
Mon Oct 21 10:46:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed5072ee28809abf0f140ca15df549a418bb5c69
      https://github.com/llvm/llvm-project/commit/ed5072ee28809abf0f140ca15df549a418bb5c69
  Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
  Date:   2024-10-21 (Mon, 21 Oct 2024)

  Changed paths:
    M lld/test/MachO/icf-safe-thunks-dwarf.ll
    M lld/test/MachO/icf-safe-thunks.ll

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

Autogenerate `.ll` code from cpp code in some `-icf-safe-thunk` tests
using `update_test_body.py`

```
PATH=build/bin:$PATH llvm/utils/update_test_body.py lld/test/MachO/icf-safe-thunks.ll lld/test/MachO/icf-safe-thunks-dwarf.ll
```
https://llvm.org/docs/TestingGuide.html#elaborated-tests

I recently became aware of this tool and I wanted to practice using it.
This also allows to remove the custom instructions to generate the `.ll`
code.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list