diff options
author | Vedant Kumar <vsk@apple.com> | 2016-04-21 21:07:25 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-04-21 21:07:25 +0000 |
commit | e44482fe7ac396f49359f01c341df5684a834314 (patch) | |
tree | 349206d3f09371cf8266a4510607744259fb7d5e /llvm/lib/Object/MachOObjectFile.cpp | |
parent | be234c30ada79e38b47ee7b58abf4c87d419a60f (diff) | |
download | bcm5719-llvm-e44482fe7ac396f49359f01c341df5684a834314.tar.gz bcm5719-llvm-e44482fe7ac396f49359f01c341df5684a834314.zip |
[ProfileData] Report errors from InstrProfSymtab::create
InstrProfSymtab::create can fail with instrprof_error::malformed, but
this error is silently dropped. Propagate the error up to the caller so
we fail early.
Eventually, I'd like to transition ProfileData over to the new Error
class so we can't ignore hard failures like this.
llvm-svn: 267055
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions