[all-commits] [llvm/llvm-project] 369c40: Support, lld: Rename misnamed F_no_mmap to F_mmap

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed May 14 21:01:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 369c4093482210442bb42366c53fd55f4355dc8c
      https://github.com/llvm/llvm-project/commit/369c4093482210442bb42366c53fd55f4355dc8c
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-05-14 (Wed, 14 May 2025)

  Changed paths:
    M lld/ELF/Arch/ARM.cpp
    M lld/ELF/Driver.cpp
    M lld/ELF/Writer.cpp
    M llvm/include/llvm/Support/FileOutputBuffer.h
    M llvm/lib/Support/FileOutputBuffer.cpp
    M llvm/unittests/Support/FileOutputBufferTest.cpp

  Log Message:
  -----------
  Support,lld: Rename misnamed F_no_mmap to F_mmap

`F_no_mmap` introduced by https://reviews.llvm.org/D69294 is misnamed.
It oughts to be `F_mmap`

When the output is a regular file or do not exist,
`--no-mmap-output-file` is the default. Relands #134787 by fixing the
lld option default. Note: changing the default to --map-output-file
would likely fail on llvm-clang-x86_64-sie-win
(https://lab.llvm.org/buildbot/#/builders/46/builds/14847)

Pull Request: https://github.com/llvm/llvm-project/pull/139836



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