Added implementation to support DWARF5 in monolithic mode.
Next step DWARF5 split dwarf support.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| bolt/include/bolt/Core/DebugData.h | ||
|---|---|---|
| 187 | nit | |
| 214 | The comment is out of sync. | |
| 217 | Why do you need to redefine getKind()? | |
| 231 | Is uint32_t enough to support DWARF-64 in the future? | |
| 285–286 | Update the comment. | |
| 486 | Could this be constexpr and defined here? | |
| 487 | Likewise. | |
| 1093 | nit | |
| bolt/lib/Core/BinaryContext.cpp | ||
| 1539 | nit | |
| bolt/lib/Core/DebugData.cpp | ||
| 169 | nit | |
| 187 | ||
| 210 | ||
| 227 | ||
| 405 | ||
| 415 | nit | |
| 447 | ||
| 459 | ||
| 490 | Expand auto. | |
| 574 | ||
| 604 | ||
| 650 | ||
| 1523–1524 | ||
| bolt/lib/Rewrite/DWARFRewriter.cpp | ||
| 84–88 | ||
| 495 | No need to introduce the new scope unless you need it. | |
| 564–565 | ||
| 1592 | ||
| bolt/include/bolt/Core/DebugData.h | ||
|---|---|---|
| 231 | no, but then rest of the code either. | |
| bolt/lib/Core/BinaryContext.cpp | ||
|---|---|---|
| 1465 | Add a warning if it's dwar5 and legacy | |
| 1507–1508 | remove | |
| 1508 | rename BinaryLineTable | |
| bolt/lib/Core/DebugData.cpp | ||
| 413 | add const to this and AddrSize | |
| 420 | add type | |
| 432 | remove curly brases | |
| 455 | lower case | |
| 1523 | remove . | |
| 1556 | const | |
| bolt/lib/Rewrite/DWARFRewriter.cpp | ||
| 376–377 | remove space | |
| 592 | Unit.getVersion()== 5 | |
| 596 | use braces for rest | |
| 606–607 | const | |
| 614 | const here and Index | |
| 669 | rewrite to make sense | |
| 674 | const | |
| 969 | use curly | |
| 980 | use curly | |
| 981 | llvm_unreachable | |
| lldb/test/Shell/SymbolFile/DWARF/x86/DW_TAG_variable-DW_AT_decl_file-DW_AT_abstract_origin-crosscu1.s | ||
|---|---|---|
| 17 | Was this test just using whatever DWARF %clang_host defaulted to? (since I don't see any changes outside of bolt other than this) | |
| lldb/test/Shell/SymbolFile/DWARF/x86/DW_TAG_variable-DW_AT_decl_file-DW_AT_abstract_origin-crosscu1.s | ||
|---|---|---|
| 17 | Yes. | |
Hi,
The test started to fail on Ubuntu buildbot: https://lab.llvm.org/buildbot/#/builders/215/builds/6376
# PRECHECK: include_directories[ 0] = .debug_line_str[0x00000000]
^
<stdin>:8:12: note: scanning from here
version: 5
^
<stdin>:30:1: note: possible intended match here
include_directories[ 0] = .debug_line_str[0x00000009] = "."Can you please take a look?
nit