In addition, the patch fixes referencing the section within a compilation unit.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Looks great!
| llvm/test/MC/ELF/gen-dwarf64.s | ||
|---|---|---|
| 51 | The SAME directive can be joined to the previous line: {{.*}}, format = DWARF64 | |
| llvm/lib/MC/MCDwarf.cpp | ||
|---|---|---|
| 1025 | This function (EmitGenDwarfInfo) is for emitting DWARF to describe raw assembler source, which I believe is not really the interesting case. | |
| llvm/lib/MC/MCDwarf.cpp | ||
|---|---|---|
| 1025 | Might be best to keep the fundamental design direction/question here in one thread ( https://reviews.llvm.org/D81144 ) rather than in all of them. Patches are in a series, so if that one ends up going another direction I don't think there's a risk these later ones will be reviewed/approved/committed in spite of that fundamental question. | |
| llvm/test/MC/ELF/gen-dwarf64.s | ||
| 51–52 | Test the length is correct, since this patch changes how it's emitted. | |
| llvm/test/MC/ELF/gen-dwarf64.s | ||
|---|---|---|
| 31–32 | That was my initial variant, but later I decided to extend the check to avoid potential cases when the format is DWARF64, but the data is malformed, e.g. if the emitting of cu_offset was not fixed. | |
This function (EmitGenDwarfInfo) is for emitting DWARF to describe raw assembler source, which I believe is not really the interesting case.