[PATCH] D118755: [clangd] Crash in __memcmp_avx2_movbe

Ivan Murashko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 1 23:24:12 PST 2022


ivanmurashko added inline comments.


================
Comment at: clang/lib/Tooling/Inclusions/HeaderIncludes.cpp:328
       ExistingIncludes.try_emplace(trimInclude(IncludeToAdd.Name)).first;
   Iter->second.push_back(std::move(IncludeToAdd));
   auto &CurInclude = Iter->second.back();
----------------
The crash is caused by vector resize initiated by this line


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118755



More information about the cfe-commits mailing list