[LLVMbugs] [Bug 5922] New: DIDerivedType::replaceAllUsesWith should RAUW on MDNodes
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Dec 30 17:07:09 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=5922
Summary: DIDerivedType::replaceAllUsesWith should RAUW on MDNodes
Product: libraries
Version: 1.0
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Global Analyses
AssignedTo: unassignedbugs at nondot.org
ReportedBy: clattner at apple.com
CC: dpatel at apple.com, llvmbugs at cs.uiuc.edu
As mentioned here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20091228/093293.html
It isn't safe for DIDerivedType::replaceAllUsesWith to RAUW on an mdnode. Some
other client of MDNodes may be using exactly the same node for different
purposes and this changes all of the uses, not just the debug info uses.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list