[cfe-commits] r111682 - in /cfe/trunk/lib/CodeGen: CGDebugInfo.cpp CGDebugInfo.h
clattner at apple.com
Fri Aug 20 17:37:06 PDT 2010
On Aug 20, 2010, at 3:02 PM, Dan Gohman wrote:
> Author: djg
> Date: Fri Aug 20 17:02:57 2010
> New Revision: 111682
> URL: http://llvm.org/viewvc/llvm-project?rev=111682&view=rev
> Introduce a new temporary MDNode concept. Temporary MDNodes are
> not part of the IR, are not uniqued, and may be safely RAUW'd.
> This replaces a variety of alternate mechanisms for achieving
> the same effect.
> // A RD->getName() is not unique. However, the debug info descriptors
> // are uniqued so use type name to ensure uniquness.
> + llvm::DIType FwdDecl =
> + DebugFactory.CreateTemporaryType(FDContext);
Please update the comment.
More information about the cfe-commits