]> granicus.if.org Git - clang/commit
[ThinkLTO] Invoke build(Thin)?LTOPreLinkDefaultPipeline.
authorTim Shen <timshen91@gmail.com>
Thu, 29 Jun 2017 23:08:38 +0000 (23:08 +0000)
committerTim Shen <timshen91@gmail.com>
Thu, 29 Jun 2017 23:08:38 +0000 (23:08 +0000)
commite4158c49f4b27bfcf3efd2290483f2479cfacafa
tree5b67e538db3c5ff982b0c8473901cea5e16be6db
parent820a5338833931da294b354a4a31d3b713dc23d9
[ThinkLTO] Invoke build(Thin)?LTOPreLinkDefaultPipeline.

Previously it doesn't actually invoke the designated new PM builder
functions.

This patch moves NameAnonGlobalPass out from PassBuilder, as Chandler
points out that PassBuilder is used for non-O0 builds, and for
optimizations only.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306756 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BackendUtil.cpp