llvm-6502/tools
Rafael Espindola 159946938f Check that COFF .obj files have sections with zero virtual address spaces.
When talking about the virtual address of sections the coff spec says:
  ... for simplicity, compilers should set this to zero. Otherwise, it is an
  arbitrary value that is subtracted from offsets during relocation.

We don't currently subtract it, so check that it is zero.

If some producer does create such files, we can change getRelocationOffset
instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241447 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-06 14:26:07 +00:00
..
bugpoint
bugpoint-passes
dsymutil Replace a few more MachO only uses of getSymbolAddress. 2015-07-03 18:02:36 +00:00
gold
llc
lli Simplify the Mangler interface now that DataLayout is mandatory. 2015-06-23 13:59:29 +00:00
llvm-ar
llvm-as
llvm-bcanalyzer llvm-bcanalyzer: Add a field that was missed in r241016. 2015-06-30 00:25:41 +00:00
llvm-c-test
llvm-config
llvm-cov
llvm-cxxdump Return ErrorOr from getSymbolAddress. 2015-07-03 18:19:00 +00:00
llvm-diff
llvm-dis
llvm-dwarfdump Make llvm-dwarfdump exit with non-zero exit code if error was occured. 2015-06-25 23:40:15 +00:00
llvm-extract
llvm-go
llvm-jitlistener Fix build with -DLLVM_USE_INTEL_JITEVENTS=ON -DLLVM_USE_OPROFILE=ON. 2015-07-03 21:47:00 +00:00
llvm-link
llvm-lto
llvm-mc
llvm-mcmarkup
llvm-nm Return ErrorOr from getSymbolAddress. 2015-07-03 18:19:00 +00:00
llvm-objdump Return ErrorOr from getSymbolAddress. 2015-07-03 18:19:00 +00:00
llvm-pdbdump
llvm-profdata
llvm-readobj Check that COFF .obj files have sections with zero virtual address spaces. 2015-07-06 14:26:07 +00:00
llvm-rtdyld [RuntimeDyld] Skip relocations for external symbols with 64-bit address ~0ULL. 2015-07-04 01:35:26 +00:00
llvm-shlib
llvm-size
llvm-stress [llvm-stress] Simple refactoring and better style. NFC. 2015-06-24 11:49:44 +00:00
llvm-symbolizer Return ErrorOr from getSymbolAddress. 2015-07-03 18:19:00 +00:00
lto lto: Clean up C libLTO interfaces pertaining to linker flags. 2015-06-29 23:09:12 +00:00
macho-dump
msbuild
obj2yaml [ELFYAML] Fix handling SHT_NOBITS sections by obj2yaml/yaml2obj tools 2015-07-03 23:00:54 +00:00
opt Revert "(HEAD -> master, origin/master, origin/HEAD) opt: Add option to strip or add llvm value names" 2015-06-24 20:04:26 +00:00
verify-uselistorder
yaml2obj [ELFYAML] Fix handling SHT_NOBITS sections by obj2yaml/yaml2obj tools 2015-07-03 23:00:54 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile