summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulie Hockett <juliehockett@google.com>2019-08-23 21:14:05 +0000
committerJulie Hockett <juliehockett@google.com>2019-08-23 21:14:05 +0000
commit245154de50021041710b32e9a062bc075b321422 (patch)
tree60ecfee135895fe7a54b4d9a30506c999d0536f2
parentb7be5b90955eac64622e07b11e6b4fbbdbcea0a2 (diff)
downloadbcm5719-llvm-245154de50021041710b32e9a062bc075b321422.tar.gz
bcm5719-llvm-245154de50021041710b32e9a062bc075b321422.zip
[clang-doc] Bump BitcodeWriter max line number to 32U
PR43039 reports hitting the assert on a very large file, so bumping this to allow for larger files. Differential Revision: https://reviews.llvm.org/D66681 llvm-svn: 369811
-rw-r--r--clang-tools-extra/clang-doc/BitcodeWriter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-doc/BitcodeWriter.h b/clang-tools-extra/clang-doc/BitcodeWriter.h
index 8865da34cf6..7deda2ed39e 100644
--- a/clang-tools-extra/clang-doc/BitcodeWriter.h
+++ b/clang-tools-extra/clang-doc/BitcodeWriter.h
@@ -40,7 +40,7 @@ struct BitCodeConstants {
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;
OpenPOWER on IntegriCloud