Skip to content

Commit db6b2d1

Browse files
committed
add comments
1 parent 9a6a313 commit db6b2d1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lldb/test/Shell/Commands/command-disassemble-sections.s

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
15
# REQUIRES: x86, lld
26

37
# RUN: split-file %s %t
@@ -13,6 +17,8 @@
1317

1418

1519
#--- 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).
1622
PHDRS {
1723
text1 PT_LOAD;
1824
text2 PT_LOAD;
@@ -24,6 +30,8 @@ SECTIONS {
2430
}
2531

2632
#--- file.s
33+
## A very simple function consisting of two parts and DWARF describing the
34+
## function.
2735
.section .text.part1,"ax",@progbits
2836
.p2align 12
2937
func1:

0 commit comments

Comments
 (0)