Files
clamav/libclamav/c++/llvm/lib/CodeGen/SelectionDAG
Török Edvin c7e3bf49b8 LLVM: cherry-pick upstream debug crashfix
This fixes a crash when running clambc --debug

From: Duncan Sands <baldrick@free.fr>
Date: Sat, 20 Nov 2010 11:25:00 +0000
Subject: [PATCH] On X86, MEMBARRIER, MFENCE, SFENCE, LFENCE are not target
 memory intrinsics, so don't claim they are.  They are
 allocated using DAG.getNode, so attempts to access
 MemSDNode fields results in reading off the end of the
 allocated memory.  This fixes crashes with "llc -debug" due
 to debug code trying to print MemSDNode fields for these
 barrier nodes (since the crashes are not deterministic, use
 valgrind to see this).  Add some nasty checking to try to
 catch this kind of thing in the future.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119901 91177308-0d34-0410-b5e6-96231b3b80d8
2011-05-03 20:47:35 +03:00
..
2010-11-06 15:50:30 +02:00
2010-11-06 15:50:30 +02:00
2010-11-06 15:50:30 +02:00
2010-11-06 15:50:30 +02:00
2010-11-06 15:50:30 +02:00
2010-11-06 15:50:30 +02:00
2010-11-06 15:50:30 +02:00
2010-11-06 15:50:30 +02:00
2010-01-26 15:20:54 +02:00
2010-11-06 15:50:30 +02:00