summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2016-12-12 22:41:20 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2016-12-12 22:41:20 +0000
commit630dce3947bbe45afefb695e32a7f0b2b4d38d99 (patch)
tree29caea425b4d88556cb78d91ed5248c5e3de06ed /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parenta4b43bf8e85cea87fa2b0a6aec31781c5be520c7 (diff)
[Modules] 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. rdar://problem/28116411 llvm-svn: 289478
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions