https://llvm.org/bugs/show_bug.cgi?id=28017
Bug ID: 28017 Summary: error: failed to load objectfile for static-linking archives? Product: lldb Version: 3.6 Hardware: Macintosh OS: MacOS X Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: lldb-dev@lists.llvm.org Reporter: chris+l...@qwirx.com CC: llvm-b...@lists.llvm.org Classification: Unclassified I'm having trouble debugging my application with LLDB on Mac because it seems to fail to find some of the compiled object files, which are inside a static link library (.a file). Objects which are compiled directly into the binary seem to be OK. I get errors like this when I first try to access line-level information: (lldb) l BackupStoreFile.cpp error: backupstore.a(BackupStoreFile.o) failed to load objfile for /Users/chris/projects/2004/boxi/bb-git/bin/bbackupquery/../../debug/lib/backupstore/backupstore.a error: backupstore.a(BackupCommands.o) failed to load objfile for /Users/chris/projects/2004/boxi/bb-git/bin/bbackupquery/../../debug/lib/backupstore/backupstore.a ... error: common.a(autogen_CommonException.o) failed to load objfile for /Users/chris/projects/2004/boxi/bb-git/bin/bbackupquery/../../debug/lib/common/common.a error: Could not find source file "BackupStoreFile.cpp". I suspect that either lldb does not fully understand the .a archive format, or another bug prevents it from locating the correct object file inside the archive. It is definitely there: chris@Chriss-MacBook-Pro(backupstorepatch)$ ar t /Users/chris/projects/2004/boxi/bb-git/bin/bbackupquery/../../debug/lib/backupstore/backupstore.a __.SYMDEF BackupAccountControl.o ... BackupStoreDirectory.o BackupStoreFile.o BackupStoreFileCmbDiff.o ... -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev