[all-commits] [llvm/llvm-project] 55a40d: link_fdata does not support hardcoded offsets in n...

Paschalis Mpeis via All-commits all-commits at lists.llvm.org
Mon Oct 21 05:02:19 PDT 2024


  Branch: refs/heads/users/paschalis-mpeis/bolt-link-fdata-nolbr
  Home:   https://github.com/llvm/llvm-project
  Commit: 55a40d3e50733de59a60cfe80f9a69ff6b8486cd
      https://github.com/llvm/llvm-project/commit/55a40d3e50733de59a60cfe80f9a69ff6b8486cd
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2024-10-21 (Mon, 21 Oct 2024)

  Changed paths:
    A bolt/test/AArch64/fdata-nolbr.s

  Log Message:
  -----------
  link_fdata does not support hardcoded offsets in no-LBR mode

For example, the below fails as the script tries to match it with the
LBR mode:

```
// RUN: link_fdata --no-lbr ...
// FDATA: 1 foo 0 10
```


  Commit: 3d5a9248256f0c4bc8aef3bcddf8caf29aaee608
      https://github.com/llvm/llvm-project/commit/3d5a9248256f0c4bc8aef3bcddf8caf29aaee608
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2024-10-21 (Mon, 21 Oct 2024)

  Changed paths:
    M bolt/test/AArch64/fdata-nolbr.s
    M bolt/test/link_fdata.py

  Log Message:
  -----------
  [BOLT] link_fdata support for hardcoded offsets in no-LBR

Allow using hardcoded offsets to blocks, eg:
```
// RUN: link_fdata --no-lbr ...
// FDATA: 1 foo 0 10
```

For LBR mode this was already supported. See for example:
- tail-duplication-complex.s


Compare: https://github.com/llvm/llvm-project/compare/55a40d3e5073%5E...3d5a9248256f

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