[all-commits] [llvm/llvm-project] a0a1f4: Remove "ELF Only" from -f*-sections help text

Reid Kleckner via All-commits all-commits at lists.llvm.org
Tue Feb 18 13:04:17 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a0a1f412fd1d86146c5b4ef5b7b66fcc57a8b56b
      https://github.com/llvm/llvm-project/commit/a0a1f412fd1d86146c5b4ef5b7b66fcc57a8b56b
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-02-18 (Tue, 18 Feb 2020)

  Changed paths:
    M clang/include/clang/Driver/Options.td

  Log Message:
  -----------
  Remove "ELF Only" from -f*-sections help text

-ffunction-sections and -fdata-sections are well supported by many
object file formats:
- ELF
- COFF
- XCOFF
- wasm
Only MachO ignores this flag.

While here, remove it from -funique-section-names. Wasm honors this
option.

Addresses PR44910.

Reviewed By: hans, aaron.ballman

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




More information about the All-commits mailing list