sourcegraph / scip-clang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ENFORCE failure due to accidentally considering local as forward declaration

varungandhi-src opened this issue · comments

We shouldn't be emitting a local as a forward declaration, something is going wrong there.

[06:29:30 error] worker 1  : Exception::raise(): indexer/Indexer.cc:362 enforced condition optSuffix.has_value() has failed: missing $ in symbol name local 25

[06:29:30 error] worker 1  : Context: processing /home/varun/llvm-project/llvm/lib/Transforms/Utils/LoopUtils.cpp
[06:29:30 error] worker 1  : Backtrace:
  #3 0x563ee537c9f8 absl::functional_internal::InvokeObject<>()
  #4 0x563ee5370ec2 scip_clang::extractTransform<>()
  #5 0x563ee5370ce3 scip_clang::ForwardDeclMap::emit()
  #6 0x563ee53881e3 scip_clang::IndexerAstConsumer::HandleTranslationUnit()
  #7 0x563ee56e9fd4 clang::ParseAST()
  #8 0x563ee55143cf clang::FrontendAction::Execute()
  #9 0x563ee547eaf6 clang::CompilerInstance::ExecuteAction()
  #10 0x563ee54638b4 clang::tooling::FrontendActionFactory::runInvocation()
  #11 0x563ee5463642 clang::tooling::ToolInvocation::runInvocation()
  #12 0x563ee5462dd6 clang::tooling::ToolInvocation::run()
  #13 0x563ee5359356 scip_clang::Worker::processTranslationUnit()
  #14 0x563ee5359f9b scip_clang::Worker::processTranslationUnitAndRespond()
  #15 0x563ee535b791 scip_clang::Worker::run()
  #16 0x563ee535b9c5 scip_clang::workerMain()