summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-09-13 23:30:01 +0000
committerReid Kleckner <rnk@google.com>2017-09-13 23:30:01 +0000
commitcd7bba026420d16aafb232847dc198c1bcd332fd (patch)
tree3675be33236e347404c0d9e94f3728e6737b12df /llvm/lib/CodeGen/AsmPrinter
parent06e2a384c26dfc400470da13abdb29612aa5ef52 (diff)
downloadbcm5719-llvm-cd7bba026420d16aafb232847dc198c1bcd332fd.tar.gz
bcm5719-llvm-cd7bba026420d16aafb232847dc198c1bcd332fd.zip
[codeview] Fold FIXME into comment, there's nothing to do. NFC
llvm-svn: 313214
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
index 6eba00be00e..7e778c542c0 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
@@ -1277,10 +1277,10 @@ TypeIndex CodeViewDebug::lowerTypeArray(const DICompositeType *Ty) {
"codeview doesn't support subranges with lower bounds");
int64_t Count = Subrange->getCount();
- // Variable length arrays and forward declarations of arrays without a size
- // use a count of -1. Emit a count (and overall size) or zero in these cases
- // to match what MSVC does for array declarations with no count.
- // FIXME: Make front-end support VLA subrange and emit LF_DIMVARLU.
+ // Forward declarations of arrays without a size and VLAs use a count of -1.
+ // Emit a count of zero in these cases to match what MSVC does for arrays
+ // without a size. MSVC doesn't support VLAs, so it's not clear what we
+ // should do for them even if we could distinguish them.
if (Count == -1)
Count = 0;
OpenPOWER on IntegriCloud