We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a6a313 commit db6b2d1Copy full SHA for db6b2d1
lldb/test/Shell/Commands/command-disassemble-sections.s
@@ -1,3 +1,7 @@
1
+## Test disassembling of functions which are spread over multiple sections (ELF
2
+## segments are modelled as LLDB sections).
3
+
4
5
# REQUIRES: x86, lld
6
7
# RUN: split-file %s %t
@@ -13,6 +17,8 @@
13
17
14
18
15
19
#--- file.lds
20
+## Linker script placing the parts of the section into different segments
21
+## (typically one of these would be for the "hot" code).
16
22
PHDRS {
23
text1 PT_LOAD;
24
text2 PT_LOAD;
@@ -24,6 +30,8 @@ SECTIONS {
30
}
25
31
26
32
#--- file.s
33
+## A very simple function consisting of two parts and DWARF describing the
34
+## function.
27
35
.section .text.part1,"ax",@progbits
28
36
.p2align 12
29
37
func1:
0 commit comments