diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2017-12-13 00:14:17 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2017-12-13 00:14:17 +0000 |
commit | dbcfadedf97afd4e8c61827f5caf214aaef06068 (patch) | |
tree | 267dd8ffe032819d20c712efd69b4a44560f95db /clang/lib/CodeGen/CodeGenModule.h | |
parent | 0f6bfaf17615772f4909cdc38f9ba51dcadbcba9 (diff) | |
download | bcm5719-llvm-dbcfadedf97afd4e8c61827f5caf214aaef06068.tar.gz bcm5719-llvm-dbcfadedf97afd4e8c61827f5caf214aaef06068.zip |
[Coverage] Always emit unused coverage mappings in the same order.
Non-determinism is confusing at best.
Differential Revision: https://reviews.llvm.org/D41140
llvm-svn: 320533
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 8b142933a7d..22c4463b2c8 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -490,7 +490,7 @@ private: /// @} - llvm::DenseMap<const Decl *, bool> DeferredEmptyCoverageMappingDecls; + llvm::MapVector<const Decl *, bool> DeferredEmptyCoverageMappingDecls; std::unique_ptr<CoverageMappingModuleGen> CoverageMapping; |