[all-commits] [llvm/llvm-project] 0cf651: [lld-macho][nfc] Use llvm::enumerate + destructuri...

Jez Ng via All-commits all-commits at lists.llvm.org
Sat Oct 22 07:41:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0cf6515e27d420ab177fcd0f3afa529626a9faa8
      https://github.com/llvm/llvm-project/commit/0cf6515e27d420ab177fcd0f3afa529626a9faa8
  Author: Jez Ng <jezng at fb.com>
  Date:   2022-10-22 (Sat, 22 Oct 2022)

  Changed paths:
    M lld/MachO/InputFiles.cpp
    M lld/MachO/SyntheticSections.cpp

  Log Message:
  -----------
  [lld-macho][nfc] Use llvm::enumerate + destructuring in more places

I love C++17!

chromium_framework_less_dwarf on my 16-core Mac Pro shows no stat sig change in wall time but a slight decrease in user time:

```
           base           diff           difference (95% CI)
sys_time   1.759 ± 0.037  1.761 ± 0.033  [  -0.9% ..   +1.1%]
user_time  4.920 ± 0.043  4.886 ± 0.051  [  -1.2% ..   -0.2%]
wall_time  5.950 ± 0.117  5.900 ± 0.116  [  -1.8% ..   +0.2%]
samples    26             37
```

Reviewed By: #lld-macho, thakis

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




More information about the All-commits mailing list