[lld] 279e4cf - [ELF] Fix type of ciesWithLSDA after D84610

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 16:34:24 PDT 2020


Author: Fangrui Song
Date: 2020-08-05T16:33:54-07:00
New Revision: 279e4cf78262dfef560631d643b85aa2032ac566

URL: https://github.com/llvm/llvm-project/commit/279e4cf78262dfef560631d643b85aa2032ac566
DIFF: https://github.com/llvm/llvm-project/commit/279e4cf78262dfef560631d643b85aa2032ac566.diff

LOG: [ELF] Fix type of ciesWithLSDA after D84610

Added: 
    

Modified: 
    lld/ELF/SyntheticSections.cpp

Removed: 
    


################################################################################
diff  --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp
index ec9fba6362db..e453c3b6bec3 100644
--- a/lld/ELF/SyntheticSections.cpp
+++ b/lld/ELF/SyntheticSections.cpp
@@ -480,7 +480,7 @@ void EhFrameSection::iterateFDEWithLSDAAux(
 template <class ELFT>
 void EhFrameSection::iterateFDEWithLSDA(
     llvm::function_ref<void(InputSection &)> fn) {
-  DenseSet<uint64_t> ciesWithLSDA;
+  DenseSet<size_t> ciesWithLSDA;
   for (EhInputSection *sec : sections) {
     ciesWithLSDA.clear();
     if (sec->areRelocsRela)


        


More information about the llvm-commits mailing list