[all-commits] [llvm/llvm-project] 735ab4: [ThinLTO] Fix .llvmcmd emission

Mircea Trofin via All-commits all-commits at lists.llvm.org
Wed Oct 28 17:57:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 735ab4be35695df9f9da7ae8b584cec28eabf1fe
      https://github.com/llvm/llvm-project/commit/735ab4be35695df9f9da7ae8b584cec28eabf1fe
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-10-28 (Wed, 28 Oct 2020)

  Changed paths:
    M clang/test/CodeGen/thinlto_embed_bitcode.ll
    M llvm/include/llvm/Bitcode/BitcodeWriter.h
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/LTO/LTOBackend.cpp

  Log Message:
  -----------
  [ThinLTO] Fix .llvmcmd emission

llvm::EmbedBitcodeInModule needs (what used to be called) EmbedMarker
set, in order to emit .llvmcmd. EmbedMarker is really about embedding the
command line, so renamed the parameter accordingly, too.

This was not caught at test because the check-prefix was incorrect, but
FileCheck does not report that when multiple prefixes are provided. A
separate patch will address that.

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




More information about the All-commits mailing list