diff options
author | Adrian Prantl <aprantl@apple.com> | 2015-01-07 21:35:13 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2015-01-07 21:35:13 +0000 |
commit | d88af278b9b3984471a00aed892bdc25e2dd1159 (patch) | |
tree | 2b117352493b8e2ad7b43004fc48d0e9a13bb1e6 | |
parent | 878a2ce55476e378fd033ff12138b734131671df (diff) | |
download | bcm5719-llvm-d88af278b9b3984471a00aed892bdc25e2dd1159.tar.gz bcm5719-llvm-d88af278b9b3984471a00aed892bdc25e2dd1159.zip |
Update a comment.
llvm-svn: 225399
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp index 730337195b0..e3205466a2e 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp @@ -627,6 +627,8 @@ static bool isUnsignedDIType(DwarfDebug *DD, DIType Ty) { 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. |