Commit a027462
committed
[LLDB] Filter out -Werror options when setting up -cc1 Clang Invocations
The non-caching code path was already doing this, but the code path
for cc1 flags was missing this functionality. Even though LLDB is
replaying the compile-time compiler invocation, we have seen reports
where additional warnings get diagnosed at debug time, effectively
rendering the debug session unusable.
rdar://1744225521 parent fb34fee commit a027462
3 files changed
Lines changed: 9 additions & 5 deletions
File tree
- lldb
- source/Plugins/TypeSystem/Swift
- test/API/lang/swift/clangimporter/caching
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2112 | 2112 | | |
2113 | 2113 | | |
2114 | 2114 | | |
2115 | | - | |
2116 | | - | |
2117 | | - | |
2118 | | - | |
| 2115 | + | |
| 2116 | + | |
2119 | 2117 | | |
2120 | 2118 | | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
2121 | 2124 | | |
2122 | 2125 | | |
2123 | 2126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
0 commit comments