llvm/test
Rafael Espindola c326067040 Don't produce relocations for a difference in a section with no symbols.
We were producing a relocation for
----------------
.section foo,bar
La:
Lb:
 .long   La-Lb
--------------

but not for

---------------------
  .section foo,bar
zed:
La:
Lb:
 .long   La-Lb
----------------

This patch handles the case where both fragments are part of the first atom
in a section and there is no corresponding symbol to that atom.

This fixes pr21328.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221304 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-04 22:10:33 +00:00
..
Analysis [SCEV] Improve Scalar Evolution's use of no {un,}signed wrap flags 2014-10-31 11:40:32 +00:00
Assembler Delete -std-compile-opts. 2014-10-16 20:00:02 +00:00
Bindings [OCaml] Run tests twice, with ocamlc and ocamlopt (if available) 2014-11-03 09:50:53 +00:00
Bitcode
BugPoint
CodeGen [mips] Add names and tests for the hardware registers 2014-11-04 21:30:44 +00:00
DebugInfo Remove "REQUIRES:shell" from tests. They work for me. 2014-11-04 13:41:33 +00:00
ExecutionEngine [MCJIT] Defer application of AArch64 MachO GOT relocations until resolve time. 2014-10-21 23:41:15 +00:00
Feature Delete -std-compile-opts. 2014-10-16 20:00:02 +00:00
FileCheck
Instrumentation [asan] do not treat inline asm calls as indirect calls 2014-10-31 18:38:23 +00:00
Integer
JitListener
Linker Revert r221096 bringing back r221014 with a fix. 2014-11-02 13:28:57 +00:00
LTO
MC Don't produce relocations for a difference in a section with no symbols. 2014-11-04 22:10:33 +00:00
Object Remove "REQUIRES:shell" from tests. They work for me. 2014-11-04 13:41:33 +00:00
Other
TableGen
tools Add the code and test cases for 32-bit Intel to llvm-objdump’s Mach-O symbolizer. 2014-11-04 00:43:16 +00:00
Transforms Disable 3 tests in llvm/test/Transforms/GCOVProfiling/ for now. Investigating. 2014-11-04 14:41:53 +00:00
Unit
Verifier Extend the verifier to validate range metadata on calls and invokes. 2014-10-20 23:52:07 +00:00
YAMLParser
.clang-format
CMakeLists.txt Make llvm-go test dependency optional. 2014-10-23 19:51:40 +00:00
lit.cfg test: Restore llvm-lit (at least for my machine) 2014-11-04 05:54:50 +00:00
lit.site.cfg.in [OCaml] [autoconf] Migrate to ocamlfind. 2014-10-30 08:29:45 +00:00
Makefile [OCaml] [autoconf] Migrate to ocamlfind. 2014-10-30 08:29:45 +00:00
Makefile.tests
TestRunner.sh