hanchenye-llvm-project/llvm
Nico Rieck 1da4529b15 MC: Support COFF image-relative MCSymbolRefs
Add support for the COFF relocation types IMAGE_REL_I386_DIR32NB and
IMAGE_REL_AMD64_ADDR32NB for 32- and 64-bit respectively. These are
similar to normal 4-byte relocations except that they do not include
the base address of the image.

Image-relative relocations are used for debug information (32-bit) and
SEH unwind tables (64-bit).

A new MCSymbolRef variant called 'VK_COFF_IMGREL32' is introduced to
specify such relocations. For AT&T assembly, this variant can be accessed
using the symbol suffix '@imgrel'.

llvm-svn: 179240
2013-04-10 23:28:17 +00:00
..
autoconf Refine fenv.h handling: check if the desired macros exist, before using 2013-03-25 13:13:33 +00:00
bindings
cmake [cmake] Avoid rel+asserts warnings when passing -UNDEBUG 2013-04-07 01:45:01 +00:00
docs MC: Support COFF image-relative MCSymbolRefs 2013-04-10 23:28:17 +00:00
examples
include MC: Support COFF image-relative MCSymbolRefs 2013-04-10 23:28:17 +00:00
lib MC: Support COFF image-relative MCSymbolRefs 2013-04-10 23:28:17 +00:00
projects Print a warning message if compiler-rt can't be built because of old CMake version to make this requirement more visible to users 2013-03-05 14:43:07 +00:00
runtime Remove GCDAProfiling.c. This copy is old, the copy in compiler-rt is newer and 2013-03-07 02:03:08 +00:00
test MC: Support COFF image-relative MCSymbolRefs 2013-04-10 23:28:17 +00:00
tools Template MachOObjectFile over endianness too. 2013-04-10 15:33:44 +00:00
unittests Delete the functions F1 and F2 to appease the valgrind bot. 2013-04-10 23:21:26 +00:00
utils Move yaml2obj to tools too. 2013-04-05 20:00:35 +00:00
.arcconfig
.gitignore
CMakeLists.txt Revert "TMP" 2013-04-10 12:08:57 +00:00
CODE_OWNERS.TXT Move info to CREDITS.TXT file. 2013-04-10 21:56:52 +00:00
CREDITS.TXT Move info to CREDITS.TXT file. 2013-04-10 21:56:52 +00:00
LICENSE.TXT
LLVMBuild.txt
Makefile Improved svn repo searching for 'make update' 2013-01-28 03:19:57 +00:00
Makefile.common
Makefile.config.in Turn anonymous type in anonymous union warning back on after cleaning up 2013-03-15 00:43:00 +00:00
Makefile.rules Make check depend on all. 2013-04-09 19:42:12 +00:00
README.txt Revert "Test commit" 2013-02-22 19:19:41 +00:00
configure Refine fenv.h handling: check if the desired macros exist, before using 2013-03-25 13:13:33 +00:00
llvm.spec.in

README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you're writing a package for LLVM, see docs/Packaging.rst for our
suggestions.