Skip to content

Conversation

@Teemperor
Copy link

-- indicates to Clang that all following arguments are file names (even when
they match a Clang compiler flag). This leads to the confusion situation
where LLDB users can run settings set target.swift-extra-clang-flags -- -v
and completely break the embedded Clang instance (that now tries to open the
file -v).

Fixes rdar://58457122

(cherry picked from commit 7fd0352)

`--` indicates to Clang that all following arguments are file names (even when
they match a Clang compiler flag). This leads to the confusion situation
where LLDB users can run `settings set target.swift-extra-clang-flags -- -v`
and completely break the embedded Clang instance (that now tries to open the
file `-v`).

Fixes rdar://58457122

(cherry picked from commit 7fd0352)
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.

1 participant