MaskRay added inline comments.

================
Comment at: lit/Modules/ELF/PT_LOAD-overlap-PT_TLS.yaml:62
+    Flags:           [ SHF_ALLOC, SHF_WRITE ]
+    Address:         0x1000
+    AddressAlign:    0x4
----------------
`.data = .tbss = 0x1010` is a more realistic scenario.

Normally, a SHT_PROGBITS section may overlap with a SHT_NOBITS section, but two 
SHT_PROGBITS sections do not overlap (ld has an on-by-default check `ld 
--check-sections`). Linkers allocate file bytes for SHT_PROGBITS sections so 
their occupied bytes cannot be reused by other sections (without fixing 
addresses with a linker script).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65282/new/

https://reviews.llvm.org/D65282



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to