We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduced with dustmite from a complex codebase, building the following:
import std; Nullable!(float[3]) _intersect_ray_plane( ){ float[3] intersection ; return Nullable!(float[3])(intersection); }
With ldc-1.34.0/bin/ldc2 -preview=dip1000 results in:
ldc-1.34.0/bin/ldc2 -preview=dip1000
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 0x0000000102bfb7e0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56 1 ldc2 0x0000000102bfa838 llvm::sys::RunSignalHandlers() + 72 2 ldc2 0x0000000102bfbe34 SignalHandler(int) + 304 3 libsystem_platform.dylib 0x000000019266aa24 _sigtramp + 56 4 ldc2 0x00000001028eadd4 llvm::DataLayout::getABITypeAlign(llvm::Type*) const + 16 5 ldc2 0x00000001028eadd4 llvm::DataLayout::getABITypeAlign(llvm::Type*) const + 16 6 ldc2 0x0000000102f15444 BaseBitcastABIRewrite::put(DValue*, bool, bool) + 92 7 ldc2 0x0000000102fb6924 IrFuncTy::putArg(IrFuncTyArg const&, DValue*, bool, bool) + 172 8 ldc2 0x0000000102f8aadc DtoCallFunction(Loc const&, Type*, DValue*, Array<Expression*>*, llvm::Value*) + 3264 9 ldc2 0x0000000102fa1acc ToElemVisitor::call(IRState*, CallExp*, llvm::Value*) + 1056 10 ldc2 0x0000000102f95094 ToElemVisitor::visit(CallExp*) + 28 11 ldc2 0x0000000102f7efcc ToIRVisitor::visit(ReturnStatement*) + 996 12 ldc2 0x0000000102f8594c ToIRVisitor::visit(CompoundStatement*) + 304 13 ldc2 0x0000000102f8594c ToIRVisitor::visit(CompoundStatement*) + 304 14 ldc2 0x0000000102f49e7c DtoDefineFunction(FuncDeclaration*, bool) + 6244 15 ldc2 0x0000000102f5ac84 codegenModule(IRState*, Module*) + 3108 16 ldc2 0x0000000102fce50c ldc::CodeGenerator::emit(Module*) + 216 17 ldc2 0x0000000102fe3e40 codegenModules(Array<Module*>&) + 944 18 ldc2 0x0000000102efd56c mars_mainBody(Param&, Array<char const*>&, Array<char const*>&) + 1316 19 ldc2 0x00000001031a1b74 _D2rt6dmain212_d_run_main2UAAamPUQgZiZ6runAllMFZv + 116 20 ldc2 0x00000001031a1698 _d_run_main + 148 21 ldc2 0x0000000102fe0fcc main + 744 22 dyld 0x00000001922e3f28 start + 2236 zsh: segmentation fault /Users/pinver/dlang/ldc-1.34.0/bin/ldc2 -preview=dip1000 -v -i -Isrc
M2 Apple with macOS 13.5.1 using downloaded 1.34.0 from the project releases.
The text was updated successfully, but these errors were encountered:
ABI: Don't rewrite HFVAs if there's no need to
7d73786
An assertion already makes sure we don't. Fixes ldc-developers#4489.
b856b8a
ABI: Don't rewrite HFVAs if there's no need to (#4490)
e003006
An assertion already makes sure we don't. Fixes #4489.
Successfully merging a pull request may close this issue.
Reduced with dustmite from a complex codebase, building the following:
With
ldc-1.34.0/bin/ldc2 -preview=dip1000
results in:M2 Apple with macOS 13.5.1 using downloaded 1.34.0 from the project releases.
The text was updated successfully, but these errors were encountered: