[all-commits] [llvm/llvm-project] 2b4208: [clang] Teach -fembed-bitcode option not to embed ...

Steven Wu via All-commits all-commits at lists.llvm.org
Tue Jul 14 14:41:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b42080b51c9a0c5ed733b30da165774dcd0d595
      https://github.com/llvm/llvm-project/commit/2b42080b51c9a0c5ed733b30da165774dcd0d595
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2020-07-14 (Tue, 14 Jul 2020)

  Changed paths:
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/Frontend/embed-bitcode.ll

  Log Message:
  -----------
  [clang] Teach -fembed-bitcode option not to embed W_value Group

Summary:
-fembed-bitcode options doesn't embed warning options since they are
useless to code generation. Make sure it handles the W_value group and
not embed those options in the output.

Reviewers: zixuw, arphaman

Reviewed By: zixuw

Subscribers: jkorous, dexonsmith, ributzka, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list