-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
lldb: working with debug symbols #6
Comments
we need to avoid saving full paths while building debug version. |
Should be something like |
Note:
|
From: http://stackoverflow.com/questions/9607155/make-gcc-put-relative-filenames-in-debug-information You can use the -fdebug-prefix-map flag to remap the debugging information paths. For example, to make the paths relative to the build location use: -fdebug-prefix-map=/full/build/path=. |
What about higher versions? Actually this may be important in the future. We need to use relative paths to implement reproducible build feature, i.e. when you build same package on different machines it should produce archive with same SHA1 value. Though for now it doesn't produce same SHA1 even for one local machine because of timestamps.
Yes, this is how it works. What have you tried to say? :) |
Didn't imply anything, just gathering the relevant information in here. ;-) |
Seems to be available in clang that comes with Xcode 7.3.1:
👍 |
Okay, no problems. Just want to be sure that I didn't miss anything. |
By the way we can keep splitting issues and divide this one into general lldb usage and Xcode integration. Also here is homepage: http://lldb.llvm.org/ |
Migrated from: https://github.com/ruslo/hunter/issues/359#issuecomment-240917420:
lldb [ for OSX mostly, I guess] would require a
. lldbinit
file with contents along the lines of:in its project directory [ Xcode needs the plugin https://github.com/alloy/lldb-is-it-not for this to work ]. Information from stackoverflow
The text was updated successfully, but these errors were encountered: