LDC 1.31.0

newbie d007 at gmail.com
Mon Feb 13 13:43:15 UTC 2023


On Saturday, 11 February 2023 at 13:47:54 UTC, kinke wrote:
> Glad to announce LDC 1.31.0. Major changes:
>
> * Based on D 2.101.2.
>   * ImportC: The C preprocessor isn't invoked yet.
> * mac/iOS arm64: Linking with `-g` is working again without 
> unaligned pointer warnings/errors.
> * *Preliminary* support for LLVM 15. Thanks @jamesragray for 
> helping out!
> * Initial ABI support for 64-bit RISC-V. Thanks @Ast-x64!
>
> Full release log and downloads: 
> https://github.com/ldc-developers/ldc/releases/tag/v1.31.0
>
> Thanks to all contributors & sponsors!

```sh
Stack dump without symbol names (ensure you have llvm-symbolizer 
in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to 
point to it):
0  ldc2                     0x000000010fa10b37 
llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39
1  ldc2                     0x000000010fa0f9e6 
llvm::sys::RunSignalHandlers() + 198
2  ldc2                     0x000000010fa11190 SignalHandler(int) 
+ 288
3  libsystem_platform.dylib 0x00007ff819850e2d _sigtramp + 29
4  libsystem_platform.dylib 0x000002d700000040 _sigtramp + 
18446606492594008624
5  ldc2                     0x000000010f2c8592 (anonymous 
namespace)::AccessAnalysis::createCheckForAccess(llvm::RuntimePointerChecking&, llvm::PointerIntPair<llvm::Value*, 1u, bool, llvm::PointerLikeTypeTraits<llvm::Value*>, llvm::PointerIntPairInfo<llvm::Value*, 1u, llvm::PointerLikeTypeTraits<llvm::Value*> > >, llvm::DenseMap<llvm::Value const*, llvm::Value*, llvm::DenseMapInfo<llvm::Value const*, void>, llvm::detail::DenseMapPair<llvm::Value const*, llvm::Value*> > const&, llvm::DenseMap<llvm::Value*, unsigned int, llvm::DenseMapInfo<llvm::Value*, void>, llvm::detail::DenseMapPair<llvm::Value*, unsigned int> >&, llvm::Loop*, unsigned int&, unsigned int, bool, bool) + 642
6  ldc2                     0x000000010f2c6063 (anonymous 
namespace)::AccessAnalysis::canCheckPtrAtRT(llvm::RuntimePointerChecking&, llvm::ScalarEvolution*, llvm::Loop*, llvm::DenseMap<llvm::Value const*, llvm::Value*, llvm::DenseMapInfo<llvm::Value const*, void>, llvm::detail::DenseMapPair<llvm::Value const*, llvm::Value*> > const&, bool) + 867
7  ldc2                     0x000000010f2c55df 
llvm::LoopAccessInfo::analyzeLoop(llvm::AAResults*, 
llvm::LoopInfo*, llvm::TargetLibraryInfo const*, 
llvm::DominatorTree*) + 6287
8  ldc2                     0x000000010f2c6f2a 
llvm::LoopAccessLegacyAnalysis::getInfo(llvm::Loop*) + 266
9  ldc2                     0x000000010e2113a0 
llvm::LoopVectorizationLegality::canVectorizeMemory() + 64
10 ldc2                     0x000000010e212c41 
llvm::LoopVectorizationLegality::canVectorize(bool) + 353
11 ldc2                     0x000000010e245d64 
llvm::LoopVectorizePass::processLoop(llvm::Loop*) + 628
12 ldc2                     0x000000010e24a7b5 
llvm::LoopVectorizePass::runImpl(llvm::Function&, 
llvm::ScalarEvolution&, llvm::LoopInfo&, 
llvm::TargetTransformInfo&, llvm::DominatorTree&, 
llvm::BlockFrequencyInfo&, llvm::TargetLibraryInfo*, 
llvm::DemandedBits&, llvm::AAResults&, llvm::AssumptionCache&, 
std::__1::function<llvm::LoopAccessInfo const& (llvm::Loop&)>&, 
llvm::OptimizationRemarkEmitter&, llvm::ProfileSummaryInfo*) + 453
13 ldc2                     0x000000010e252732 (anonymous 
namespace)::LoopVectorize::runOnFunction(llvm::Function&) + 994
14 ldc2                     0x000000010f73229b 
llvm::FPPassManager::runOnFunction(llvm::Function&) + 907
15 ldc2                     0x000000010f73854c 
llvm::FPPassManager::runOnModule(llvm::Module&) + 60
16 ldc2                     0x000000010f7328b5 
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 933
17 ldc2                     0x000000010fe73bc4 
writeModule(llvm::Module*, char const*) + 10340
18 ldc2                     0x000000010fe6e1e0 
ldc::CodeGenerator::writeAndFreeLLModule(char const*) + 1360
19 ldc2                     0x000000010fe8b58f 
codegenModules(Array<Module*>&) + 7631
20 ldc2                     0x000000010fd95540 
mars_mainBody(Param&, Array<char const*>&, Array<char const*>&) + 
5136
Error: Error executing /usr/local/ldc2/bin/ldc2: Segmentation 
fault: 11
```


More information about the Digitalmars-d-announce mailing list