diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2020-04-21 15:30:54 -0700 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2020-04-21 15:45:54 -0700 |
commit | d892eec710caae84099f38fdb89d32ca15a23c1a (patch) | |
tree | 27d8a596bbe74893ed5649d0dcb40ddf896ba20e /lldb/unittests/ScriptInterpreter/Python | |
parent | 01d2a01e79d3d83f18cf3e54c2bf55bba523b77a (diff) | |
download | llvm-d892eec710caae84099f38fdb89d32ca15a23c1a.zip llvm-d892eec710caae84099f38fdb89d32ca15a23c1a.tar.gz llvm-d892eec710caae84099f38fdb89d32ca15a23c1a.tar.bz2 |
Reapply: Make header inclusion order from umbrella dirs deterministic
Sort the headers by name before adding the includes in
collectModuleHeaderIncludes. This makes the include order for building
umbrellas deterministic across different filesystems and also guarantees
that the ASTWriter always dump top headers in the same order.
There's currently no good way to test for this behavior.
This was first introduced in r289478 and reverted few times because of
ASANifed test failures on open source bots (both from LLVM and Swift).
Finally reproduced the problem in a Linux machine and use std::sort as a
fix, since we are not dealing with POD-like types.
rdar://problem/28116411
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions