{"action":"created","issue":{"url":"https://api.github.com/repos/ruslo/CGold/issues/6","repository_url":"https://api.github.com/repos/ruslo/CGold","labels_url":"https://api.github.com/repos/ruslo/CGold/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/ruslo/CGold/issues/6/comments","events_url":"https://api.github.com/repos/ruslo/CGold/issues/6/events","html_url":"https://github.com/ruslo/CGold/issues/6","id":172104261,"number":6,"title":"lldb: working with debug symbols","user":{"login":"ruslo","id":4346993,"avatar_url":"https://avatars.githubusercontent.com/u/4346993?v=3","gravatar_id":"","url":"https://api.github.com/users/ruslo","html_url":"https://github.com/ruslo","followers_url":"https://api.github.com/users/ruslo/followers","following_url":"https://api.github.com/users/ruslo/following{/other_user}","gists_url":"https://api.github.com/users/ruslo/gists{/gist_id}","starred_url":"https://api.github.com/users/ruslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruslo/subscriptions","organizations_url":"https://api.github.com/users/ruslo/orgs","repos_url":"https://api.github.com/users/ruslo/repos","events_url":"https://api.github.com/users/ruslo/events{/privacy}","received_events_url":"https://api.github.com/users/ruslo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ruslo/CGold/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-19T10:43:01Z","updated_at":"2016-08-22T07:46:12Z","closed_at":null,"body":"Migrated from: https://github.com/ruslo/hunter/issues/359#issuecomment-240917420:\r\n\r\n**lldb** [ for OSX mostly, I guess] would require a `. lldbinit` file with contents along the lines of: \r\n```\r\nsettings set target.source-map <old-build-directory>/Build <root-id>/Install\r\n``` \r\nin its project directory [ Xcode needs the plugin https://github.com/alloy/lldb-is-it-not for this to work ]. Information from [stackoverflow]( http://stackoverflow.com/questions/12973633/lldb-equivalent-of-gdb-directory-command-for-specifying-source-search-path)"},"comment":{"url":"https://api.github.com/repos/ruslo/CGold/issues/comments/241337004","html_url":"https://github.com/ruslo/CGold/issues/6#issuecomment-241337004","issue_url":"https://api.github.com/repos/ruslo/CGold/issues/6","id":241337004,"user":{"login":"ruslo","id":4346993,"avatar_url":"https://avatars.githubusercontent.com/u/4346993?v=3","gravatar_id":"","url":"https://api.github.com/users/ruslo","html_url":"https://github.com/ruslo","followers_url":"https://api.github.com/users/ruslo/followers","following_url":"https://api.github.com/users/ruslo/following{/other_user}","gists_url":"https://api.github.com/users/ruslo/gists{/gist_id}","starred_url":"https://api.github.com/users/ruslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruslo/subscriptions","organizations_url":"https://api.github.com/users/ruslo/orgs","repos_url":"https://api.github.com/users/ruslo/repos","events_url":"https://api.github.com/users/ruslo/events{/privacy}","received_events_url":"https://api.github.com/users/ruslo/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T07:46:12Z","updated_at":"2016-08-22T07:46:12Z","body":"> Note: -fdebug-prefix-map is not available with the clang that comes with Xcode 7.1.1\r\n\r\nWhat about higher versions?\r\n\r\nActually 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.\r\n\r\n> 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=.\r\n\r\nYes, this is how it works. What have you tried to say? :)"}}
{"actor":{"display_login":"ruslo"}}