InstrProf: Optionally print an error when emitting profile data fails
authorJustin Bogner <mail@justinbogner.com>
Fri, 16 Jan 2015 20:10:56 +0000 (20:10 +0000)
committerJustin Bogner <mail@justinbogner.com>
Fri, 16 Jan 2015 20:10:56 +0000 (20:10 +0000)
commit66fd5c914a062a8740c8384ad17a734e7057cf23
treebf64e5375fac184e487401870485e87e236ce708
parent2b45395876c6f351a21b258a32cbeedb80c1146e
InstrProf: Optionally print an error when emitting profile data fails

Debugging a missing profile is a bit painful right now. We can make
people's lives a bit easier by adding a knob to enable printing a
helpful error message for such failures.

llvm-svn: 226312
compiler-rt/lib/profile/InstrProfilingFile.c