aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SourceMgr.cpp
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@inbox.ru>2020-04-25 19:15:08 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-04-25 19:16:01 +0100
commit09684b08d3b56b8ab0adb8fe46f709aeba29cee6 (patch)
tree885c65f8d4fadfde40717ea6b1e9a83703468ac1 /llvm/lib/Support/SourceMgr.cpp
parent3a1afd8c3d4bb5ded8262697c1aaebfd96e2a319 (diff)
downloadllvm-09684b08d3b56b8ab0adb8fe46f709aeba29cee6.zip
llvm-09684b08d3b56b8ab0adb8fe46f709aeba29cee6.tar.gz
llvm-09684b08d3b56b8ab0adb8fe46f709aeba29cee6.tar.bz2
llvm: IPO: handle IRMover error handling, bug #45636
Summary: Missing error mangling is noticed in https://bugs.llvm.org/show_bug.cgi?id=45636 where inconsistent profiling input caused llvm/lld to crash as: ``` Program aborted due to an unhandled Error: linking module flags 'ProfileSummary': IDs have conflicting values in 'Mutex_posix.o' and 'nsBrowserApp.o' ``` The change does not change the fact that LLVM crashes but changes error output to say what was incorrect: ``` LLVM ERROR: Function Import: link error: linking module flags 'ProfileSummary': IDs have conflicting values in 'Mutex_posix.o' and 'nsBrowserApp.o' ``` Actual crash has yet to be fixed. Reviewers: lattner Reviewed By: lattner Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78676
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions