Skip to content

Commit 8bdac15

Browse files
committed
Move DEBUG_SECTIONS from DWARF
1 parent 7fb5729 commit 8bdac15

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/ObjFileBase.jl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,19 @@ function DebugSections{T<:ObjectHandle}(oh::T, sections::Dict)
194194
debug_types = get(sections, "debug_types", nothing))
195195
end
196196

197+
const DEBUG_SECTIONS = [
198+
"debug_abbrev",
199+
"debug_aranges",
200+
"debug_frame",
201+
"debug_info",
202+
"debug_line",
203+
"debug_loc",
204+
"debug_macinfo",
205+
"debug_pubnames",
206+
"debug_ranges",
207+
"debug_str",
208+
"debug_types"]
209+
197210
function show(io::IO, dsect::DebugSections)
198211
println(io, "Debug Sections for $(dsect.oh)")
199212
println(io,"========================= debug_abbrev =========================")

0 commit comments

Comments
 (0)