[PATCH] D27556: LTO: Hash the parts of the LTO configuration that affect code generation.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 17:57:45 PST 2016


pcc created this revision.
pcc added reviewers: tejohnson, mehdi_amini.
pcc added subscribers: llvm-commits, krasin.

Most importantly, we need to hash the relocation model, otherwise we can
end up trying to link non-PIC object files into PIEs or DSOs.


https://reviews.llvm.org/D27556

Files:
  llvm/include/llvm/CodeGen/CommandFlags.h
  llvm/lib/LTO/LTO.cpp
  llvm/test/ThinLTO/X86/cache-config.ll
  llvm/tools/llvm-lto2/llvm-lto2.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27556.80700.patch
Type: text/x-patch
Size: 7382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161208/0598a88a/attachment.bin>


More information about the llvm-commits mailing list