Go to file
Teresa Johnson c0320ef47b [ThinLTO] Use std::map to get determistic imports files
Summary:
I noticed that the .imports files emitted for distributed ThinLTO
backends do not have consistent ordering. This is because StringMap
iteration order is not guaranteed to be deterministic. Since we already
have a std::map with this information, used when emitting the individual
index files (ModuleToSummariesForIndex), use it for the imports files as
well.

This issue is likely causing some unnecessary rebuilds of the ThinLTO
backends in our distributed build system as the imports files are inputs
to those backends.

Reviewers: pcc, steven_wu, mehdi_amini

Subscribers: mehdi_amini, inglorion, eraman, steven_wu, dexonsmith, llvm-commits

Differential Revision: https://reviews.llvm.org/D48783

llvm-svn: 336721
2018-07-10 20:06:04 +00:00
clang Patch to fix pragma metadata for do-while loops 2018-07-10 19:55:02 +00:00
clang-tools-extra [clangd] Make sure macro information exists before increasing usage count. 2018-07-09 18:54:51 +00:00
compiler-rt Revert "[Fuzzer] Afl driver changing iterations handling" 2018-07-10 19:58:42 +00:00
debuginfo-tests [debuginfo-tests] Always use the system python to invoke llgdb.py. 2018-06-10 19:38:26 +00:00
libclc atom: Use volatile pointers for cl_khr_{global,local}_int32_{base,extended}_atomics 2018-06-21 19:27:39 +00:00
libcxx [CMake] Set per-runtime library directory suffix in runtimes build 2018-07-10 19:13:33 +00:00
libcxxabi [CMake] Set per-runtime library directory suffix in runtimes build 2018-07-10 19:13:33 +00:00
libunwind [CMake] Set per-runtime library directory suffix in runtimes build 2018-07-10 19:13:33 +00:00
lld [ELF][MIPS] Add mote tests on MipsArchTree routines, fix typos in error messages 2018-07-10 16:51:17 +00:00
lldb Rollback [test-suite] Add a decorator for the lack of libstdcxx on the system. 2018-07-09 21:56:28 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [ThinLTO] Use std::map to get determistic imports files 2018-07-10 20:06:04 +00:00
openmp Fix const cast problem introduced in r336563 2018-07-09 19:09:31 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly [Docs] Fix generation of manpages. 2018-07-09 20:26:11 +00:00
README.md

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.