llvm/tools/llvm-mc
David Majnemer 56afa6e660 [MC, COFF] Support link /incremental conditionally
Today, we always take into account the possibility that object files
produced by MC may be consumed by an incremental linker.  This results
in us initialing fields which vary with time (TimeDateStamp) which harms
hermetic builds (e.g. verifying a self-host went well) and produces
sub-optimal code because we cannot assume anything about the relative
position of functions within a section (call sites can get redirected
through incremental linker thunks).

Let's provide an MCTargetOption which controls this behavior so that we
can disable this functionality if we know a-priori that the build will
not rely on /incremental.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256203 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-21 22:09:27 +00:00
..
CMakeLists.txt Add targets to cmake for specific target components. 2015-04-20 18:22:05 +00:00
Disassembler.cpp Remove unused includes and out of date comment. NFC. 2014-12-17 03:07:20 +00:00
Disassembler.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
llvm-mc.cpp [MC, COFF] Support link /incremental conditionally 2015-12-21 22:09:27 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile build: Tidy up a bunch of tool Makefiles, and simplify where possible using the 2011-10-18 19:27:24 +00:00