Commit 7b0c51a
authored
[clang][bytecode] Fix a crash when redeclaring extern globals (llvm#164204)
One iteration of this loop might've already fixed up the pointers of
coming globals, so check for that explicitly.
Fixes llvm#1641511 parent 6d663cd commit 7b0c51a
File tree
2 files changed
+8
-3
lines changed- clang
- lib/AST/ByteCode
- test/AST/ByteCode
2 files changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
230 | 233 | | |
231 | 234 | | |
232 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
0 commit comments