llvm-project/llvm/test/DebugInfo/Mips
Rafael Espindola 13a79bbfe5 Change how we handle section symbols on ELF.
On ELF every section can have a corresponding section symbol. When in
an assembly file we have

.quad .text

the '.text' refers to that symbol.

The way we used to handle them is to leave .text an undefined symbol
until the very end when the object writer would map them to the
actual section symbol.

The problem with that is that anything before the end would see an
undefined symbol. This could result in bad diagnostics
(test/MC/AArch64/label-arithmetic-diags-elf.s), or incorrect results
when using the asm streamer (est/MC/Mips/expansion-jal-sym-pic.s).

Fixing this will also allow using the section symbol earlier for
setting sh_link of SHF_METADATA sections.

This patch includes a few hacks to avoid changing our behaviour when
handling conflicts between section symbols and other symbols. I
reported pr31850 to track that.

llvm-svn: 293936
2017-02-02 21:26:06 +00:00
..
InlinedFnLocalVar.ll Change how we handle section symbols on ELF. 2017-02-02 21:26:06 +00:00
delay-slot.ll [mips][ias] Only round section sizes when explicitly requested. 2016-05-04 13:21:06 +00:00
dsr-fixed-objects.ll [mips] interAptiv based generic schedule model 2016-09-01 14:53:53 +00:00
dsr-non-fixed-objects.ll [mips][FastISel] Instantiate the MipsFastISel class only for targets that support FastISel. 2016-10-18 13:05:42 +00:00
fn-call-line.ll [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
lit.local.cfg
processes-relocations.ll
prologue_end.ll [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
tls.ll [mips] Fix debug information for __thread variable 2017-01-20 17:53:30 +00:00