hanchenye-llvm-project/llvm/tools/llvm-mc
David Majnemer 03e2cc3007 [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.

llvm-svn: 256203
2015-12-21 22:09:27 +00:00
..
CMakeLists.txt
Disassembler.cpp
Disassembler.h
LLVMBuild.txt
Makefile
llvm-mc.cpp [MC, COFF] Support link /incremental conditionally 2015-12-21 22:09:27 +00:00