[PATCH] D66681: [clang-doc] Bump BitcodeWriter max line number to 32U
Julie Hockett via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 23 13:40:30 PDT 2019
juliehockett created this revision.
juliehockett added a reviewer: phosek.
juliehockett added a project: clang-tools-extra.
b43039 reports hitting the assert on a very large file, so bumping this to allow for larger files.
https://reviews.llvm.org/D66681
Files:
clang-tools-extra/clang-doc/BitcodeWriter.h
Index: clang-tools-extra/clang-doc/BitcodeWriter.h
===================================================================
--- clang-tools-extra/clang-doc/BitcodeWriter.h
+++ clang-tools-extra/clang-doc/BitcodeWriter.h
@@ -40,7 +40,7 @@
static constexpr unsigned IntSize = 16U;
static constexpr unsigned StringLengthSize = 16U;
static constexpr unsigned FilenameLengthSize = 16U;
- static constexpr unsigned LineNumberSize = 16U;
+ static constexpr unsigned LineNumberSize = 32U;
static constexpr unsigned ReferenceTypeSize = 8U;
static constexpr unsigned USRLengthSize = 6U;
static constexpr unsigned USRBitLengthSize = 8U;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66681.216942.patch
Type: text/x-patch
Size: 641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190823/0a3369c4/attachment.bin>
More information about the cfe-commits
mailing list