thakis added a comment.

I ssh'd into one of the failing boxes and ran the failing command without 
piping it into filecheck. Here's the output:

  thakis@dotc:~/src/llvm-project$ env CINDEXTEST_EDITING=1 
CINDEXTEST_EXECUTE_COMMAND="cp 
/usr/local/google/home/thakis/src/llvm-project/clang/test/Index/Inputs/preamble-reparse-changed-module/new-head.h
 
/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Index/Output/preamble-reparse-changed-module.m.tmp/mod/head.h"
 CINDEXTEST_EXECUTE_AFTER_TRIAL=1      
/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/c-index-test 
-test-load-source-reparse 3 local 
/usr/local/google/home/thakis/src/llvm-project/clang/test/Index/preamble-reparse-changed-module.m
 -I 
/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Index/Output/preamble-reparse-changed-module.m.tmp
 -I 
/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Index/Output/preamble-reparse-changed-module.m.tmp/mod
 -fmodules 
-fmodules-cache-path=/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Index/Output/preamble-reparse-changed-module.m.tmp/mcp
 
  c-index-test: ../../llvm/include/llvm/ADT/SmallVector.h:281: 
llvm::SmallVectorTemplateCommon::const_reference 
llvm::SmallVectorTemplateCommon<unsigned long, 
void>::operator[](llvm::SmallVectorTemplateCommon::size_type) const [T = 
unsigned long]: Assertion `idx < size()' failed.
  libclang: crash detected during parsing: {
    'source_filename' : '(null)'
    'command_line_args' : ['clang', 
'/usr/local/google/home/thakis/src/llvm-project/clang/test/Index/preamble-reparse-changed-module.m',
 '-I', 
'/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Index/Output/preamble-reparse-changed-module.m.tmp',
 '-I', 
'/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Index/Output/preamble-reparse-changed-module.m.tmp/mod',
 '-fmodules', 
'-fmodules-cache-path=/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Index/Output/preamble-reparse-changed-module.m.tmp/mcp'],
    'unsaved_files' : [],
    'options' : 13,
  }
  Unable to load translation unit!
  Failure: libclang crashed

Do you build without assertions locally maybe?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96816

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to