[lld] 0847cfa - [lld][macho] Fix implicit dependency on DenseMap.h include

Shoaib Meenai via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 12:49:18 PDT 2020


Thanks for the fix!

On 4/27/20, 6:05 AM, "llvm-commits on behalf of Simon Pilgrim via llvm-commits" <llvm-commits-bounces at lists.llvm.org on behalf of llvm-commits at lists.llvm.org> wrote:


    Author: Simon Pilgrim
    Date: 2020-04-27T14:05:29+01:00
    New Revision: 0847cfa334d01d941e9dafd18ff0cd1d9c27606e

    URL: https://github.com/llvm/llvm-project/commit/0847cfa334d01d941e9dafd18ff0cd1d9c27606e
    DIFF: https://github.com/llvm/llvm-project/commit/0847cfa334d01d941e9dafd18ff0cd1d9c27606e.diff

    LOG: [lld][macho] Fix implicit dependency on DenseMap.h include

    It was depending on CachedHashString.h providing the include.

    Added: 


    Modified: 
        lld/MachO/SymbolTable.h

    Removed: 



    ################################################################################
    diff  --git a/lld/MachO/SymbolTable.h b/lld/MachO/SymbolTable.h
    index 95e7a88a38da..b4b10c684a81 100644
    --- a/lld/MachO/SymbolTable.h
    +++ b/lld/MachO/SymbolTable.h
    @@ -11,6 +11,7 @@

     #include "lld/Common/LLVM.h"
     #include "llvm/ADT/CachedHashString.h"
    +#include "llvm/ADT/DenseMap.h"
     #include "llvm/Object/Archive.h"

     namespace lld {



    _______________________________________________
    llvm-commits mailing list
    llvm-commits at lists.llvm.org
    https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.llvm.org_cgi-2Dbin_mailman_listinfo_llvm-2Dcommits&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=Hy9iUBrpZsFPk0dMx9mQ5uucnlbyb8dHCTmu9-9Rtz0&s=ak9MANsSFDm2F2aDMBPxWQMsXLfb87MJ-VRUkjOcVCs&e= 



More information about the llvm-commits mailing list