LDC - DMD sync strategy

Trass3r via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Wed May 7 04:18:17 PDT 2014


On Wednesday, 7 May 2014 at 05:18:12 UTC, Kai Nacke wrote:
> Now I can trigger the second assertion failure. Seems to have 
> something to do with recent changes in debug symbol generation.
>
> My configuration is:
> cmake -G "Visual Studio 11 Win64" 
> -DCMAKE_INSTALL_PREFIX="D:/Program Files/LLVM-x64" 
> -DCMAKE_BUILD_TYPE=Debug

Yeah in debug mode only the second one triggers (which was indeed 
introduced recently). In release mode I get the other assertion:

>	ldc2.exe!llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase 
>* * List=0x00000000001ff440) Line 531	C++
  	ldc2.exe!llvm::scc_iterator<llvm::CallGraph * 
__ptr64,llvm::GraphTraits<llvm::CallGraph * __ptr64> 
 >::DFSVisitChildren() Line 158	C++
  	ldc2.exe!llvm::scc_iterator<llvm::CallGraph * 
__ptr64,llvm::GraphTraits<llvm::CallGraph * __ptr64> 
 >::GetNextSCC() Line 179	C++
  	ldc2.exe!llvm::scc_begin<llvm::CallGraph * 
__ptr64>(llvm::CallGraph * const & G=0x00000000024f7e70) Line 
225	C++
  	ldc2.exe!`anonymous 
namespace'::CGPassManager::runOnModule(llvm::Module & M={...}) 
Line 434	C++
  	ldc2.exe!`anonymous 
namespace'::MPPassManager::runOnModule(llvm::Module & M={...}) 
Line 1625	C++
  	ldc2.exe!llvm::legacy::PassManagerImpl::run(llvm::Module & 
M={...}) Line 1734	C++
  	ldc2.exe!ldc_optimize_module(llvm::Module * 
M=0x0000000000000023) Line 400	C++
  	ldc2.exe!writeModule(llvm::Module * m=0x0000000000000000, 
std::basic_string<char,std::char_traits<char>,std::allocator<char> 
 > filename={...}) Line 133	C++
  	ldc2.exe!main(int argc=0, char * * argv=0x0000000000000000) 
Line 1279	C++


More information about the digitalmars-d-ldc mailing list