[PATCH] D24706: [ELF] - Partial support of --gdb-index command line option (Part 1).
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 18 04:08:39 PDT 2016
grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar, emaste, evgeny777.
Herald added subscribers: mgorny, beanz.
This patch is extracted from D24267 which implements the --gdb-index option.
(aim is to reduce and split review parts)
In this patch partial gdb_index section is created.
For costructing the .gdb_index section 6 steps should be performed (details are in
SplitDebugInfo.cpp file header), this patch do first 3:
1) Creates proper section header.
2) Fills list of compilation units.
3) Types CU list area is not supposed to be supported, so it is ignored and therefore
can be treated as implemented either.
https://reviews.llvm.org/D24706
Files:
ELF/CMakeLists.txt
ELF/Config.h
ELF/Driver.cpp
ELF/InputFiles.cpp
ELF/InputFiles.h
ELF/Options.td
ELF/OutputSections.cpp
ELF/OutputSections.h
ELF/SplitDebugInfo.cpp
ELF/SplitDebugInfo.h
ELF/Writer.cpp
test/ELF/Inputs/gdb-index-a.elf
test/ELF/Inputs/gdb-index-b.elf
test/ELF/gdb-index.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24706.71746.patch
Type: text/x-patch
Size: 29493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160918/18ea14db/attachment-0001.bin>
More information about the llvm-commits
mailing list