Support for DWARF-5 in in house DWARF parser#40710
Support for DWARF-5 in in house DWARF parser#40710alexey-milovidov merged 3 commits intoClickHouse:masterfrom
Conversation
I have to do this, since I have libraries compiled with DWARF5 (i.e. glibc). ClickHouse changes: - use camel_case - add NOLINT - avoid using folly:: (use std:: instead) - avoid using boost:: (use std:: instead) Refs: facebook/folly@490b287 Signed-off-by: Azat Khuzhin <[email protected]>
Signed-off-by: Azat Khuzhin <[email protected]>
|
BTW, We also include LLVM and can use DWARF parser and symbolizer directly from there. |
Indeed. I though about this, but decided to update the folly's implementation for now, and separately look at llvm's, in the long-term I think it is good step, however I'm afraid that it may be slower (or will not have "fast" interface), but this should be verified first. |
|
Basically it looks OK, parser works, and binary indeed uses DWARF-5: P.S.
SIGTRAP, and cannot reproduce. Details
Expected failure of |
|
The failure with SIGTRAP was probably related, there are tons of similar failures in master since this PR was merged |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Support for DWARF-5 in in house DWARF parser
I have to do this, since I have libraries compiled with DWARF5 (i.e.
glibc).
ClickHouse changes:
Details
Refs: facebook/folly@490b287
Refs: #35405
Refs: #34777
Refs: #37479