Commit 367deae
authored
Big dwarf dump improvements (#129)
* Support type definitions inside functions in dwarf dump
Detect subroutine parent class and constness
Support nested typedefs
* Omit unnecessary/duplicate dwarf info
* Move total size to before struct so that clangd picks it up
* Subroutine typedefs and subroutine block inner types
* Handle override, const, volatile, virtual, static function logic
* Omit return type of ctors and dtors
* Add back the nested template thing because it's actually useful
* Return type omitting bug fix
* Add static struct members
* Fix formatting
* Handle typedef specification attribute
* Avoid adding duplicate inline params
* Handle non-overriden GCC constructors and destructors
* clippy
* Cargo fmt
* Apply clippy's suggestion
* Extract producer and correctly handle MWCC static members
* Enable static member function detection only for GCC
* Fix bug where function parameter wasn't applied if both names were None
* Fix gcc boolean logic and omit __in_chrg
* Add parent fallback for PS2 MW
* Demangle mangled function names
* Have inlines and blocks in the same vec to keep their correct order
* Change comment
* List member functions inside struct
* Remove Inline comment and add a new line before blocks
* Fix fmt and check
* Support appending static member functions to struct on GCC
* Reverse enum members in GCC1 parent d766ff5 commit 367deae
4 files changed
+958
-139
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
166 | 168 | | |
167 | 169 | | |
168 | 170 | | |
169 | | - | |
| 171 | + | |
| 172 | + | |
170 | 173 | | |
171 | 174 | | |
172 | 175 | | |
| |||
210 | 213 | | |
211 | 214 | | |
212 | 215 | | |
| 216 | + | |
213 | 217 | | |
214 | 218 | | |
215 | 219 | | |
| |||
245 | 249 | | |
246 | 250 | | |
247 | 251 | | |
248 | | - | |
249 | | - | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
250 | 275 | | |
251 | 276 | | |
252 | 277 | | |
| |||
284 | 309 | | |
285 | 310 | | |
286 | 311 | | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | 312 | | |
304 | 313 | | |
305 | 314 | | |
| |||
0 commit comments