Skip to content
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

Allow building with debug symbols by setting GODEBUG #1270

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

Kern--
Copy link
Contributor

@Kern-- Kern-- commented Jun 6, 2024

Issue #, if available:
N/A

Description of changes:
The default builds of soci and soci-snapshotter-grpc have debug symbols removed. This change adds a new GODEBUG flag to add this information.

It can be used like:

GODEBUG=1 make

and the resulting executables can be debugged with delve/gdb.

Testing performed:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@Kern-- Kern-- requested a review from a team as a code owner June 6, 2024 22:48
henry118
henry118 previously approved these changes Jun 7, 2024
austinvazquez
austinvazquez previously approved these changes Jun 11, 2024
@Kern-- Kern-- dismissed stale reviews from austinvazquez and henry118 via 0d63f7a June 11, 2024 19:57
@Kern-- Kern-- changed the title Allow building with debug symbols by setting GO_DEBUG Allow building with debug symbols by setting GODEBUG Jun 11, 2024
@Kern-- Kern-- merged commit 717033d into awslabs:main Jun 11, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants