[PATCH] D76594: [clang][AST] Support AST files larger than 512M

Oleg Grunin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 10 06:55:40 PST 2021


JackKemp99 added inline comments.


================
Comment at: clang/lib/Serialization/ASTWriter.cpp:1908
+    uint64_t Offset = Stream.GetCurrentBitNo() - SLocEntryOffsetsBase;
+    assert((Offset >> 32) == 0 && "SLocEntry offset too large");
+    SLocEntryOffsets.push_back(Offset);
----------------
clangd crashes here:
{F15446669}


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76594/new/

https://reviews.llvm.org/D76594



More information about the cfe-commits mailing list