llvm-project/llvm/test/MC/COFF
Reid Kleckner 602c0dafdd [MC] Improve COFF associative section lookup
Handle the case when the symbol is private. Private symbols are not in
the COFF object file symbol table, so they aren't inserted into
SymbolMap. We can't look up the section of the symbol that way. Instead,
get the MCSection from the MCSymbol and map that to the object file
section.

Print a better error message when the symbol has no section, like when
the symbol is undefined.

Fixes PR38607

llvm-svn: 339942
2018-08-16 21:34:41 +00:00
..
ARM
alias.s
align-nops.s [X86] Don't use NOPL when the assembler is passed an empty CPU string. Update tests to force a CPU with NOPL 2017-12-18 21:37:27 +00:00
assoc-private.s [MC] Improve COFF associative section lookup 2018-08-16 21:34:41 +00:00
assoc-undef.s [MC] Improve COFF associative section lookup 2018-08-16 21:34:41 +00:00
bad-expr.s Use @LINE in two more tests. 2017-07-06 21:33:23 +00:00
basic-coff-64.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
basic-coff.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
bigobj.py
bss.s
bss_section.ll
comm-align.s
comm.ll
comm.s
const-gv-with-rel-init.ll
cross-section-relative-err.s COFF: Produce an error on invalid pcrel relocs. 2017-06-23 04:07:44 +00:00
cross-section-relative.ll
cross-section-relative.s COFF: Produce an error on invalid pcrel relocs. 2017-06-23 04:07:44 +00:00
cv-compiler-info.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
cv-def-range-gap.s [codeview] Use push_macro to avoid conflicts instead of a prefix 2018-08-16 17:34:31 +00:00
cv-def-range.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
cv-empty-file-table.s
cv-empty-linetable.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
cv-errors.s
cv-fpo-csrs.s [codeview] Implement FPO data assembler directives 2017-10-11 21:24:33 +00:00
cv-fpo-errors.s [codeview] Implement FPO data assembler directives 2017-10-11 21:24:33 +00:00
cv-fpo-setframe.s [codeview] Implement FPO data assembler directives 2017-10-11 21:24:33 +00:00
cv-inline-linetable-infloop.s [codeview] Change readobj symbol dumping format 2017-07-11 23:41:41 +00:00
cv-inline-linetable-unlikely.s [codeview] Change readobj symbol dumping format 2017-07-11 23:41:41 +00:00
cv-inline-linetable-unreachable.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
cv-inline-linetable.s [CodeView] Add line numbers for inlined call sites 2018-01-18 22:55:43 +00:00
cv-loc-cross-section.s
cv-loc-unreachable.s [codeview] Ignore .cv_loc directives at the end of a function 2018-04-25 23:34:15 +00:00
cv-loc.s
diff.s [MC] Always emit relocations for same-section function references 2018-03-14 19:24:32 +00:00
directive-section-characteristics.ll
early-dce.s
eh-frame.s
feat00.s
file.s
global_ctors_dtors.ll
initialised-data.ll
invalid-def.s
invalid-endef.s
invalid-scl-range.s
invalid-scl.s
invalid-type-range.s
invalid-type.s
ir-to-imgrel.ll
label-undefined.s
linker-options.ll
linkonce-invalid.s
linkonce.s
lit.local.cfg
lset0.s
module-asm.ll
offset.s
pr23025.s
pr28462.s
rdata.ll
relax-reloc.s
relocation-imgrel.s [MC] Add support for the .rva assembler directive for COFF targets 2018-07-26 20:11:26 +00:00
safeseh.s
secidx.s
secrel-variant.s
secrel32-undef.s
secrel32.s
section-comdat-conflict.s
section-comdat-conflict2.s
section-comdat.s [MC] Improve COFF associative section lookup 2018-08-16 21:34:41 +00:00
section-invalid-flags.s
section-name-encoding.s
section-passthru-flags.s
section.s
seh-align1.s
seh-align2.s
seh-align3.s
seh-linkonce.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
seh-section-2.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
seh-section.s
seh-stackalloc-zero.s [SEH] Use reportError instead of report_fatal_error for bad directives 2017-10-10 01:26:25 +00:00
seh.s
simple-fixups.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
stdin.s
switch-relocations.ll
symbol-alias.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
symbol-fragment-offset-64.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
symbol-fragment-offset.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
symidx.s Reland "Emit Function IDs table for Control Flow Guard" 2018-01-09 23:49:30 +00:00
temporary-alias.s
timestamp.s
tricky-names.ll MC intel asm parser: Allow @ at the start of function names. 2018-03-12 12:47:27 +00:00
weak-alias-local.s
weak-val.s
weak.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00