[PATCH] D75201: [ThinLTO/LowerTypeTests] Handle unpromoted local type ids

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 2 12:03:49 PST 2020


aganea added a comment.

Just FYI, I'm also getting the following crash when doing `ninja check-clang` with the repro specified in: https://reviews.llvm.org/D73242#1881924
It appeared at about the same time as the bug described by Eugene above (it is probably the same thing).
This happens on many clang tests. I am at latest trunk.

   #0 0x00007ff67be7f2d1 clang::interp::ExprScope<class clang::interp::ByteCodeEmitter>::`scalar deleting dtor'(unsigned int) (d:\llvm-project\buildninjarelrpmalloc\bin\clang.exe+0x1f2d1)
   #1 0x00007ff67d8c9301 clang::SrcMgr::ContentCache::getBuffer(class clang::DiagnosticsEngine &, class clang::FileManager &, class clang::SourceLocation, bool *) const D:\llvm-project\clang\lib\Basic\SourceManager.cpp:172:0
   #2 0x00007ff67ee6f570 clang::SourceManager::getBuffer(class clang::FileID, class clang::SourceLocation, bool *) const D:\llvm-project\clang\include\clang\Basic\SourceManager.h:995:0
   #3 0x00007ff67ee6ee27 clang::Preprocessor::EnterSourceFile(class clang::FileID, class clang::DirectoryLookup const *, class clang::SourceLocation) D:\llvm-project\clang\lib\Lex\PPLexerChange.cpp:81:0
   #4 0x00007ff67dafc03d clang::Preprocessor::EnterMainSourceFile(void) D:\llvm-project\clang\lib\Lex\Preprocessor.cpp:551:0
   #5 0x00007ff67f4b9f15 clang::ParseAST(class clang::Sema &, bool, bool) D:\llvm-project\clang\lib\Parse\ParseAST.cpp:144:0
   #6 0x00007ff67dbe226c clang::FrontendAction::Execute(void) D:\llvm-project\clang\lib\Frontend\FrontendAction.cpp:944:0
   #7 0x00007ff67c6e6130 clang::CompilerInstance::ExecuteAction(class clang::FrontendAction &) D:\llvm-project\clang\lib\Frontend\CompilerInstance.cpp:969:0
   #8 0x00007ff67c74272d clang::ExecuteCompilerInvocation(class clang::CompilerInstance *) D:\llvm-project\clang\lib\FrontendTool\ExecuteCompilerInvocation.cpp:292:0
   #9 0x00007ff67be67f74 cc1_main(class llvm::ArrayRef<char const *>, char const *, void *) D:\llvm-project\clang\tools\driver\cc1_main.cpp:240:0
  #10 0x00007ff67be64f4d ExecuteCC1Tool D:\llvm-project\clang\tools\driver\driver.cpp:328:0
  #11 0x00007ff67be61d1d main D:\llvm-project\clang\tools\driver\driver.cpp:402:0
  #12 0x00007ff680886ae8 __scrt_common_main_seh d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288:0
  #13 0x00007ffa95737bd4 (C:\WINDOWS\System32\KERNEL32.DLL+0x17bd4)
  #14 0x00007ffa972eced1 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x6ced1)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75201





More information about the llvm-commits mailing list