[llvm] r225399 - Update a comment.

Adrian Prantl aprantl at apple.com
Wed Jan 7 13:35:14 PST 2015


Author: adrian
Date: Wed Jan  7 15:35:13 2015
New Revision: 225399

URL: http://llvm.org/viewvc/llvm-project?rev=225399&view=rev
Log:
Update a comment.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp?rev=225399&r1=225398&r2=225399&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp Wed Jan  7 15:35:13 2015
@@ -627,6 +627,8 @@ static bool isUnsignedDIType(DwarfDebug
     dwarf::Tag T = (dwarf::Tag)Ty.getTag();
     // Encode pointer constants as unsigned bytes. This is used at least for
     // null pointer constant emission.
+    // (Pieces of) aggregate types that get hacked apart by SROA may also be
+    // represented by a constant. Encode them as unsigned bytes.
     // FIXME: reference and rvalue_reference /probably/ shouldn't be allowed
     // here, but accept them for now due to a bug in SROA producing bogus
     // dbg.values.





More information about the llvm-commits mailing list