Commit cdc37ce
authored
rewrite DW_TAG_compile_unit during aotcompile (JuliaLang#49183)
The macOS linker requires these to be unique due to a bug, and we do not
care about this value at all as it does nothing, so just make it
something unique. However, keep the directory as ".", since it uses that
to compose the DW_AT_decl_file values for its subprograms.
Also try to save a little memory, since we have to leak all of these
objects (per LLVMContext), and we would like to avoid that.
Fix JuliaLang#49152
Fix JuliaLang#49151
Fix JuliaLang#491531 parent 8f78a94 commit cdc37ce
4 files changed
+51
-34
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1341 | 1341 | | |
1342 | 1342 | | |
1343 | 1343 | | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
1344 | 1349 | | |
1345 | 1350 | | |
1346 | 1351 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
156 | 189 | | |
157 | 190 | | |
158 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7149 | 7149 | | |
7150 | 7150 | | |
7151 | 7151 | | |
7152 | | - | |
| 7152 | + | |
| 7153 | + | |
| 7154 | + | |
| 7155 | + | |
| 7156 | + | |
| 7157 | + | |
| 7158 | + | |
7153 | 7159 | | |
7154 | 7160 | | |
7155 | 7161 | | |
7156 | 7162 | | |
7157 | | - | |
7158 | | - | |
7159 | | - | |
7160 | | - | |
7161 | | - | |
7162 | | - | |
7163 | | - | |
7164 | | - | |
7165 | | - | |
7166 | 7163 | | |
7167 | | - | |
7168 | | - | |
7169 | | - | |
7170 | | - | |
7171 | | - | |
7172 | | - | |
7173 | | - | |
7174 | | - | |
7175 | | - | |
7176 | | - | |
7177 | | - | |
7178 | | - | |
7179 | | - | |
7180 | | - | |
7181 | | - | |
7182 | 7164 | | |
7183 | | - | |
| 7165 | + | |
7184 | 7166 | | |
7185 | | - | |
7186 | | - | |
| 7167 | + | |
7187 | 7168 | | |
7188 | | - | |
7189 | | - | |
| 7169 | + | |
7190 | 7170 | | |
7191 | | - | |
7192 | | - | |
| 7171 | + | |
7193 | 7172 | | |
7194 | 7173 | | |
7195 | 7174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1694 | 1694 | | |
1695 | 1695 | | |
1696 | 1696 | | |
1697 | | - | |
1698 | | - | |
| 1697 | + | |
| 1698 | + | |
1699 | 1699 | | |
1700 | 1700 | | |
1701 | 1701 | | |
| |||
0 commit comments