Commit fcd4d3b
Debug info: fix emitting struct names
When emitting debug info for structs (which will be translated into
BTF), the name *must not* contain the "struct" (or "union") prefix,
otherwise our emitted debug info will not match the kernel BTF (which
doesn't use the prefix) and the programs where the match is required
will be rejected.1 parent 6139e3f commit fcd4d3b
File tree
2 files changed
+8
-2
lines changed- src/ast
- tests/codegen/llvm
2 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
215 | 221 | | |
216 | | - | |
| 222 | + | |
217 | 223 | | |
218 | 224 | | |
219 | 225 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
0 commit comments