]> granicus.if.org Git - clang/commit
[clang][NewPM] Fix broken profile test
authorLeonard Chan <leonardchan@google.com>
Thu, 13 Jun 2019 17:25:36 +0000 (17:25 +0000)
committerLeonard Chan <leonardchan@google.com>
Thu, 13 Jun 2019 17:25:36 +0000 (17:25 +0000)
commit542bc7eeb18aad9a6b878c0801878a948ca6d980
tree5d08526664fb01cc223d61d07b6b264704af049c
parent67681b50ccbeba867dc111358c087a6da40d2fff
[clang][NewPM] Fix broken profile test

This contains the part of D62225 which fixes Profile/gcc-flag-compatibility.c
by adding the pass that allows default profile generation to work under the new
PM. It seems that ./default.profraw was not being generated with new PM enabled.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363278 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BackendUtil.cpp
test/Profile/gcc-flag-compatibility.c