[all-commits] [llvm/llvm-project] 1c198b: Revert [MC][ELF] Emit separate unique sections for...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Sep 10 16:56:09 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c198b3032e899003b5c1ffaa15c7648f24f1e69
      https://github.com/llvm/llvm-project/commit/1c198b3032e899003b5c1ffaa15c7648f24f1e69
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
    M llvm/include/llvm/MC/MCContext.h
    M llvm/lib/MC/MCContext.cpp
    M llvm/test/CodeGen/Mips/gpopt-explict-section.ll
    R llvm/test/CodeGen/X86/elf-unique-sections-by-flags.ll
    M llvm/test/CodeGen/X86/explicit-section-mergeable.ll
    M llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp

  Log Message:
  -----------
  Revert [MC][ELF] Emit separate unique sections for different flags

Commit Message from @MaskRay:

Rust has a fragile embed-bitcode implementation
(https://github.com/rust-lang/rust/blob/bddb59cf07efcf6e606f16b87f85e3ecd2c1ca69/compiler/rustc_codegen_llvm/src/back/write.rs#L970-L1017)
which relied on the previous LLVM MC behavior.  Rust's LLVM fork
has carried a revert. This commit made the similar revert to help
distributions since they would otherwise probably carry a similar patch
(as they ship rust linked against system LLVM).

Fixes https://bugs.llvm.org/show_bug.cgi?id=51207.

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




More information about the All-commits mailing list