llvm/lib/MC
Nico Weber d8f6d5cdd7 Make WinCOFFObjectWriter.cpp's timestamp writing not use ENABLE_TIMESTAMPS
LLVM_ENABLE_TIMESTAMPS controls if timestamps are embedded into llvm's
binaries. Turning it off is useful for deterministic builds.

r246905 made it so that the define suddenly also controls if the binaries that
the llvm binaries _create_ embed timestamps or not – but this shouldn't be a
configure-time option. r256203/r256204 added a driver option to toggle this on
and off, so this patch now passes this driver option in LLVM_ENABLE_TIMESTAMPS
builds so that if LLVM_ENABLE_TIMESTAMPS is set, the build of LLVM is
deterministic – but the built clang can still write timestamps into other
executables when requested.

This also allows removing some of the test machinery added in r292012 to work
around this problem.

See PR24740 for background.
http://reviews.llvm.org/D15783


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256958 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-06 19:05:19 +00:00
..
MCDisassembler
MCParser Use std::unique_ptr. NFC. 2015-12-16 23:49:14 +00:00
CMakeLists.txt [ptr-traits] Split the MCFragment type hierarchy out of the MCAssembler 2015-12-29 09:06:16 +00:00
ConstantPools.cpp [ARM,AArch64] Store source location of asm constant pool entries 2015-11-16 16:25:47 +00:00
ELFObjectWriter.cpp Avoid explicit relocation sorting most of the time. 2015-12-17 16:22:06 +00:00
LLVMBuild.txt
MachObjectWriter.cpp
Makefile
MCAsmBackend.cpp Implement .reloc (constant offset only) with support for R_MIPS_NONE and R_MIPS_32. 2015-11-12 13:33:00 +00:00
MCAsmInfo.cpp
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmInfoELF.cpp
MCAsmStreamer.cpp Implement .reloc (constant offset only) with support for R_MIPS_NONE and R_MIPS_32. 2015-11-12 13:33:00 +00:00
MCAssembler.cpp [ptr-traits] Split the MCFragment type hierarchy out of the MCAssembler 2015-12-29 09:06:16 +00:00
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp Use std::unique_ptr. NFC. 2015-12-16 23:49:14 +00:00
MCDwarf.cpp Clang-format my previous change (r256313) 2016-01-04 18:49:15 +00:00
MCELFObjectTargetWriter.cpp Always sort by offset first. NFC. 2015-12-17 15:08:24 +00:00
MCELFStreamer.cpp
MCExpr.cpp Recognize strings for Hexagon-specific variant kinds 2015-12-18 18:47:27 +00:00
MCFragment.cpp [ptr-traits] Split the MCFragment type hierarchy out of the MCAssembler 2015-12-29 09:06:16 +00:00
MCInst.cpp Teach MCOperand::print how to print FPImm operands. 2015-12-21 16:47:10 +00:00
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCInstrDesc.cpp Replace uint16_t with the MCPhysReg typedef in many places. A lot of physical register arrays already use this typedef. 2015-12-05 07:13:35 +00:00
MCLabel.cpp
MCLinkerOptimizationHint.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp MC: Make sure to clear *all* of MCMachOStreamer's state 2015-12-03 00:52:20 +00:00
MCNullStreamer.cpp
MCObjectFileInfo.cpp [MC] Fix file name in file header 2016-01-04 12:22:34 +00:00
MCObjectStreamer.cpp Implement .reloc (constant offset only) with support for R_MIPS_NONE and R_MIPS_32. 2015-11-12 13:33:00 +00:00
MCObjectWriter.cpp
MCRegisterInfo.cpp
MCSchedule.cpp
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp
MCStreamer.cpp
MCSubtargetInfo.cpp (NFC) Change SubtargetFeatures::ToggleFeature and 2016-01-05 10:25:56 +00:00
MCSymbol.cpp [ptr-traits] Provide a real MCFragment address for the sentinel instead 2015-12-29 09:32:18 +00:00
MCSymbolELF.cpp
MCSymbolizer.cpp
MCTargetOptions.cpp [MC, COFF] Support link /incremental conditionally 2015-12-21 22:09:27 +00:00
MCValue.cpp
MCWin64EH.cpp
MCWinEH.cpp Stop producing .data.rel sections. 2015-11-18 06:02:15 +00:00
StringTableBuilder.cpp
SubtargetFeature.cpp (NFC) Change SubtargetFeatures::ToggleFeature and 2016-01-05 10:25:56 +00:00
WinCOFFObjectWriter.cpp Make WinCOFFObjectWriter.cpp's timestamp writing not use ENABLE_TIMESTAMPS 2016-01-06 19:05:19 +00:00
WinCOFFStreamer.cpp [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
YAML.cpp