[PATCH] Adding diversity for security (llvm)
Julian Lettner
julian.lettner at gmail.com
Tue Apr 15 19:16:32 PDT 2014
Do not include RNG instance ID in the seed value.
This enables reproducible builds in a multi-threaded environment.
It might also reduce security, but this is not our topmost concern
as we are not using a cryptographically secure RNG to start with.
Hi rinon, ahomescu,
http://reviews.llvm.org/D1802
CHANGE SINCE LAST DIFF
http://reviews.llvm.org/D1802?vs=8499&id=8550#toc
Files:
include/llvm/CodeGen/CommandFlags.h
include/llvm/Support/RandomNumberGenerator.h
include/llvm/Target/TargetOptions.h
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
lib/LTO/LTOCodeGenerator.cpp
lib/Support/CMakeLists.txt
lib/Support/RandomNumberGenerator.cpp
lib/Target/X86/CMakeLists.txt
lib/Target/X86/NOPInsertion.cpp
lib/Target/X86/X86.h
lib/Target/X86/X86TargetMachine.cpp
test/CodeGen/X86/nop-insert-percentage.ll
test/CodeGen/X86/nop-insert.ll
test/CodeGen/X86/sched-rnd-test.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1802.11.patch
Type: text/x-patch
Size: 20129 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140415/a0ed6330/attachment.bin>
More information about the llvm-commits
mailing list