]> granicus.if.org Git - clang/commit
Display profile file name when emitting a file not found diagnostic.
authorDiego Novillo <dnovillo@google.com>
Thu, 25 Jun 2015 22:56:00 +0000 (22:56 +0000)
committerDiego Novillo <dnovillo@google.com>
Thu, 25 Jun 2015 22:56:00 +0000 (22:56 +0000)
commitc52fbfeaa5eab3037031f62a95a3cffbc793c58d
tree2471fd9d98a3288f719a7814fcea972b88326fca
parentaa01982075e904b1d9d5a30f1920166713c583d4
Display profile file name when emitting a file not found diagnostic.

When a profile file cannot be opened, we used to display just the error
message but not the name of the profile the compiler was trying to open.
This will become useful in the next set of patches that introduce
GCC-compatible flags to specify profiles.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240715 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
test/Profile/profile-does-not-exist.c