[lldb-dev] [Bug 39750] New: lldb built with cmake on macOS fails to debug applications
lldb-dev at lists.llvm.org
Thu Nov 22 02:03:52 PST 2018
Bug ID: 39750
Summary: lldb built with cmake on macOS fails to debug
OS: MacOS X
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: alexandru.croitor at qt.io
CC: llvm-bugs at lists.llvm.org
Created attachment 21141
I'm trying to build lldb master from sources using cmake on macOS 10.14.1, and
the build finishes successfully, but debugging does not work.
Using the same sources with xcodebuild, lldb can successfully debug
Initially I thought the issue might be due to code signing, but then I saw that
the xcodebuild lldb is not code signed at all (although the debugserver is)
Nevertheless I tried building both with -DLLDB_CODESIGN_IDENTITY="" and
DLLDB_CODESIGN_IDENTITY="lldb_codesign", but it didn't make a difference.
I also have SIP and gatekeeper disabled, and I followed the steps for creating
a code sign cert from the docs.
The issue specifically is that after running
$ lldb ./my-app
the application is not launched, and lldb freezes.
If I press Ctrl-C 3 times, lldb quits, and the application gets launched.
Attaching the stacktrace of lldb, as well as the log file.
Judging from the log and trace, it looks like lldb expects some event to happen
when launching the app, but it doesn't.
lldb version 8.0.0 (http://llvm.org/git/lldb.git revision
clang revision 2d5099826365b50ff253e48c0832255600e68202
llvm revision 498b7f9b57123ce661e075ae584876be72852506
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev