Go to file
Sanjay Patel f2fa58e744 fix crash in machine trace metrics due to processing dbg_value instructions (PR24199)
The test in PR24199 ( https://llvm.org/bugs/show_bug.cgi?id=24199 ) crashes because machine
trace metrics was not ignoring dbg_value instructions when calculating data dependencies.

The machine-combiner pass asks machine trace metrics to calculate an instruction trace, 
does some reassociations, and calls MachineInstr::eraseFromParentAndMarkDBGValuesForRemoval()
along with MachineTraceMetrics::invalidate(). The dbg_value instructions have their operands
invalidated, but the instructions are not expected to be deleted.

On a subsequent loop iteration of the machine-combiner pass, machine trace metrics would be
called again and die while accessing the invalid debug instructions.

Differential Revision: http://reviews.llvm.org/D11423

llvm-svn: 243057
2015-07-23 22:56:53 +00:00
clang Add documentation for the objc_boxable attribute 2015-07-23 21:53:13 +00:00
clang-tools-extra misc-unused-parameters: Fix bug where the check was looking at 2015-07-23 17:26:36 +00:00
compiler-rt [sanitizer] Fix double definition of a function. 2015-07-23 22:37:39 +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 R600: Implement accurate double precision sqrt v2 2015-07-10 13:37:08 +00:00
libcxx Detect and throw on a class of bad regexes that we mistakenly accepted before. Thanks to Trevor Smigiel for the report 2015-07-23 18:27:51 +00:00
libcxxabi Remove include directive for the unused libunwind_ext.h. 2015-07-12 14:47:53 +00:00
libunwind Update version to 3.8.0svn 2015-07-22 21:36:42 +00:00
lld Use the getSymbol with an explicit symbol table. NFC. 2015-07-23 13:41:25 +00:00
lldb Several improvements to the Either<T,U> type 2015-07-23 22:17:39 +00:00
llgo [llgo] build llgoi by default 2015-07-21 00:47:18 +00:00
llvm fix crash in machine trace metrics due to processing dbg_value instructions (PR24199) 2015-07-23 22:56:53 +00:00
openmp Patch out a fatal assertion in OpenMP runtime until preconditions are met 2015-07-23 18:58:37 +00:00
polly Add LICM test cases 2015-07-23 20:05:11 +00:00