Go to file
Duncan P. N. Exon Smith 7401b1e780 Verifier: Don't call debug info verifier if the module is broken
If `Verifier` has already found a failure, don't call
`DebugInfoVerifier`.  The latter sometimes crashes in `DebugInfoFinder`
when the former would give a nice message.  The only two cases I found
it crashing are explicit verifier tests I've added:

  - test/Verifier/llvm.dbg.declare-expression.ll
  - test/Verifier/llvm.dbg.value-expression.ll

However, I assume frontends with bugs will create invalid IR as well.

IMO, the `DebugInfoVerifier` should never crash (instead, it should fail
to verify), but subtleties like that will be easier to work out once
it's enabled again.

This is part of PR22777.

llvm-svn: 232418
2015-03-16 21:23:56 +00:00
clang [modules] If we find more formerly-canonical declarations of an entity while 2015-03-16 20:54:07 +00:00
clang-tools-extra Fix ./configure build after r232338. 2015-03-16 00:43:57 +00:00
compiler-rt [Tsan] Do not sanitize memcpy() during thread initialization on FreeBSD 2015-03-16 14:42:21 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Fix bitselect for float/double types v2 2015-03-05 15:31:05 +00:00
libcxx Don't attempt to validate the output of %p. 2015-03-16 17:56:04 +00:00
libcxxabi Update copyright year to 2015. 2015-03-12 20:13:54 +00:00
lld [ELF] Use pcrel format for eh_frame_ptr field encoding 2015-03-16 21:07:46 +00:00
lldb Skip TestDataFormatterStdMap on linux instead of xfailing. 2015-03-16 19:56:36 +00:00
llgo [llgo] update year in LICENSE.txt 2015-03-13 01:36:02 +00:00
llvm Verifier: Don't call debug info verifier if the module is broken 2015-03-16 21:23:56 +00:00
openmp fix for broken commit 231774 2015-03-10 10:14:57 +00:00
polly Test case updates for explicit type parameter to the gep operator 2015-03-13 18:21:20 +00:00