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

[SR-15086] C/C++ Flags that should be applied by SPM Debug configuration #4392

Open
swift-ci opened this issue Aug 18, 2021 · 1 comment
Open
Assignees
Labels

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-15086
Radar rdar://problem/82133351
Original Reporter kneekey23 (JIRA User)
Type Bug
Additional Detail from JIRA
Votes 1
Component/s Package Manager
Labels Bug
Assignee @abertelrud
Priority Medium

md5: 3cada46fe7808a0c0b642a1550d8babe

Issue Description:

Flags we would like to see applied in debug mode:

  • -g

  • -O0 or -Onone, really any -O

  • -fno-omit-frame-poiner

  • -fno-inline-functions

  • -fno-optimize-sibling-calls

Optionally, we should be able to specify, via `unsafeFlags` or something else:

  • -fsanitize=(address|thread) at least

At a minimum these should be automated but also something we can touch.

@typesanitizer
Copy link

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants