-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
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
Add support for debugging macOS app bundles #1091
Conversation
LGTM |
This is pending testing on macOS :) |
121bdad
to
b3790bd
Compare
@gregg-miskelly Perchance do you know how to default each test to have this new compiler as unsupported or do I have to add an UnsupportedCompiler tag to the existing tests? |
I have no idea. You could ask the Production Diag folks (Justin Anderson, Del) if they remember anything. |
b3790bd
to
3bd92cc
Compare
This PR adds support for debugging app bundles on macOS. LLDB understands how to handle app bundles when provided to -file-exec-and-symbols. Reference: ./lldb-mi (gdb) -file-exec-and-symbols /Applications/VLC.app ^done (gdb) =library-loaded,id="/Applications/VLC.app/Contents/MacOS/VLC",target-name="/Applications/VLC.app/Contents/MacOS/VLC",host-name="/Applications/VLC.app/Contents/MacOS/VLC",symbols-loaded="0",loaded_addr="-",size="20480"
Add XCodeBuild Compiler Add support for running tests Missing actual test Move to correct location
3bd92cc
to
3a23419
Compare
@gregg-miskelly When you have the time, can you re-review this PR. I was able to add a XCode project that compiles a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM
This PR adds support for debugging app bundles on macOS.
LLDB understands how to handle app bundles when provided to
-file-exec-and-symbols.
Reference:
./lldb-mi
(gdb)
-file-exec-and-symbols /Applications/VLC.app
^done
(gdb)
=library-loaded,id="/Applications/VLC.app/Contents/MacOS/VLC",target-name="/Applications/VLC.app/Contents/MacOS/VLC",host-name="/Applications/VLC.app/Contents/MacOS/VLC",symbols-loaded="0",loaded_addr="-",size="20480"
Added MacOSApp Test to CppTests.