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-13275] Clang module breadcrumbs remaining in binaries even with '-no-clang-module-breadcrumbs' #4422

Closed
thii opened this issue Jul 24, 2020 · 7 comments
Assignees
Labels
bug Something isn't working LLDB for Swift

Comments

@thii
Copy link

thii commented Jul 24, 2020

Previous ID SR-13275
Radar rdar://problem/66058061
Original Reporter @thii
Type Bug

Attachment: Download

Additional Detail from JIRA
Votes 1
Component/s LLDB for Swift
Labels Bug
Assignee @adrian-prantl
Priority Medium

md5: a04ada4e3d0a10ab980e02c3c4c34a51

Issue Description:

Consider the following code:

import Foundation

extension NSString {
    func test() {
        let _ = NSMakeRange(1, 2)
    }
}

When compiling with the following flag:

-Xfrontend -no-clang-module-breadcrumbs

it still produces a binary that has the Clang module breadcrumbs being embedded.

@adrian-prantl
Copy link
Member

@swift-ci create

@swift-ci
Copy link

Comment by Richard (JIRA)

This should have been resolved by apple/swift#37839

@keith
Copy link

keith commented Aug 30, 2021

richardh (JIRA User) related to the comment on the PR about limiting debug-ability, did you notice any specific downsides in that fix?

@swift-ci
Copy link

Comment by Richard (JIRA)

It was only an improvement on our end as otherwise you would end up with lots of debugger errors about missing clang modules and types.

@keith
Copy link

keith commented Aug 31, 2021

@adrian-prantl are there some specifics to look out for here?

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
@keith
Copy link

keith commented May 5, 2022

I think everything is resolved here, except knowing specifics of the downsides of this flag. @adrian-prantl Are there other issues you know about?

@adrian-prantl
Copy link
Member

Sounds good, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working LLDB for Swift
Projects
None yet
Development

No branches or pull requests

4 participants