pointfreeco / swift-custom-dump

A collection of tools for debugging, diffing, and testing your application's data structures.
MIT License
800 stars 89 forks source link

I can't building in swift-custom-dump update after Xcode 15.4 #118

Closed entaku0818 closed 5 months ago

entaku0818 commented 5 months ago

Describe the bug I can't building in swift-custom-dump

To Reproduce Zip up a project that reproduces the behavior and attach it by dragging it here.

Attribute 'noalias' applied to incompatible type!
  %12 = call noalias i64 @swift_allocObject(ptr %9, i64 %11, i64 7) #2, !dbg !3147
Invalid bitcast
  %13 = bitcast i64 %12 to ptr, !dbg !3147
Attribute 'noalias' applied to incompatible type!
  %12 = call noalias i64 @swift_allocObject(ptr %9, i64 %11, i64 7) #2, !dbg !3203
Invalid bitcast
  %13 = bitcast i64 %12 to ptr, !dbg !3203
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
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):
Rename failed: /Users/entaku/Library/Developer/Xcode/DerivedData/VoiLog-chvljtffgmrjvffbxwkvqbhojpra/Build/Intermediates.noindex/swift-custom-dump.build/Release-iphonesimulator/CustomDump.build/Objects-normal/arm64/Speech-e531dbf6.o.tmp -> /Users/entaku/Library/Developer/Xcode/DerivedData/VoiLog-chvljtffgmrjvffbxwkvqbhojpra/Build/Intermediates.noindex/swift-custom-dump.build/Release-iphonesimulator/CustomDump.build/Objects-normal/arm64/Speech.o: No such file or directory
0  swift-frontend           0x0000000107a53f3c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  swift-frontend           0x0000000107a530f8 llvm::sys::RunSignalHandlers() + 112
2  swift-frontend           0x0000000107a54544 SignalHandler(int) + 360
3  libsystem_platform.dylib 0x000000019617b584 _sigtramp + 56
4  libsystem_pthread.dylib  0x000000019614ac20 pthread_kill + 288
5  libsystem_c.dylib        0x0000000196057a30 abort + 180
6  swift-frontend           0x000000010235d6d8 PrettyStackTraceFrontend::~PrettyStackTraceFrontend() + 0
7  swift-frontend           0x000000010799ca18 llvm::report_fatal_error(llvm::Twine const&, bool) + 280
8  swift-frontend           0x000000010799c900 llvm::report_fatal_error(llvm::Twine const&, bool) + 0
9  swift-frontend           0x00000001028304b8 llvm::detail::PassModel<llvm::Module, llvm::VerifierPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>) + 0
Rename failed: /Users/entaku/Library/Developer/Xcode/DerivedData/VoiLog-chvljtffgmrjvffbxwkvqbhojpra/Build/Intermediates.noindex/swift-custom-dump.build/Release-iphonesimulator/CustomDump.build/Objects-normal/arm64/Photos-27b0e54c.o.tmp -> /Users/entaku/Library/Developer/Xcode/DerivedData/VoiLog-chvljtffgmrjvffbxwkvqbhojpra/Build/Intermediates.noindex/swift-custom-dump.build/Release-iphonesimulator/CustomDump.build/Objects-normal/arm64/Photos.o: No such file or directory
10 swift-frontend           0x0000000107753ce8 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 224
11 swift-frontend           0x0000000102823490 swift::performLLVMOptimizations(swift::IRGenOptions const&, llvm::Module*, llvm::TargetMachine*, llvm::raw_pwrite_stream*) + 3992
12 swift-frontend           0x0000000102824bec swift::performLLVM(swift::IRGenOptions const&, swift::DiagnosticEngine&, llvm::sys::SmartMutex<false>*, llvm::GlobalVariable*, llvm::Module*, llvm::TargetMachine*, llvm::StringRef, llvm::vfs::OutputBackend&, swift::UnifiedStatsReporter*) + 2364
13 swift-frontend           0x000000010282ce70 (anonymous namespace)::LLVMCodeGenThreads::Thread::run() + 156
14 swift-frontend           0x000000010282cdc8 (anonymous namespace)::LLVMCodeGenThreads::runThread(void*) + 12
15 libsystem_pthread.dylib  0x000000019614af94 _pthread_start + 136
16 libsystem_pthread.dylib  0x0000000196145d34 thread_start + 8
Rename failed: /Users/entaku/Library/Developer/Xcode/DerivedData/VoiLog-chvljtffgmrjvffbxwkvqbhojpra/Build/Intermediates.noindex/swift-custom-dump.build/Release-iphonesimulator/CustomDump.build/Objects-normal/arm64/CoreMotion-93d0a7ea.o.tmp -> /Users/entaku/Library/Developer/Xcode/DerivedData/VoiLog-chvljtffgmrjvffbxwkvqbhojpra/Build/Intermediates.noindex/swift-custom-dump.build/Release-iphonesimulator/CustomDump.build/Objects-normal/arm64/CoreMotion.o: No such file or directory
Rename failed: /Users/entaku/Library/Developer/Xcode/DerivedData/VoiLog-chvljtffgmrjvffbxwkvqbhojpra/Build/Intermediates.noindex/swift-custom-dump.build/Release-iphonesimulator/CustomDump.build/Objects-normal/arm64/CoreLocation-1b51f3bd.o.tmp -> /Users/entaku/Library/Developer/Xcode/DerivedData/VoiLog-chvljtffgmrjvffbxwkvqbhojpra/Build/Intermediates.noindex/swift-custom-dump.build/Release-iphonesimulator/CustomDump.build/Objects-normal/arm64/CoreLocation.o: No such file or directory
// And/or enter code that reproduces the behavior here.

Expected behavior

Screenshots image

Environment

Additional context

mbrandonw commented 5 months ago

Hi @entaku0818, this was fixed in version 1.2.1 of the library. Can you make sure you are on the newest version?

Since I believe this issue is fixed I am going to convert this to a discussion. Pleas feel free to continue the conversation over there!