[llvm] r219592 - [Modules] Add some missing includes to make files compile stand-alone.

Richard Smith richard at metafoo.co.uk
Sun Oct 12 17:51:52 PDT 2014


On Sun, Oct 12, 2014 at 3:49 PM, Benjamin Kramer <benny.kra at googlemail.com>
wrote:

> Author: d0k
> Date: Sun Oct 12 17:49:26 2014
> New Revision: 219592
>
> URL: http://llvm.org/viewvc/llvm-project?rev=219592&view=rev
> Log:
> [Modules] Add some missing includes to make files compile stand-alone.
>
> Modified:
>     llvm/trunk/include/llvm/MC/ConstantPools.h
>     llvm/trunk/lib/Analysis/BlockFrequencyInfoImpl.cpp
>     llvm/trunk/lib/Support/Unix/Process.inc
>
> Modified: llvm/trunk/include/llvm/MC/ConstantPools.h
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/ConstantPools.h?rev=219592&r1=219591&r2=219592&view=diff
>
> ==============================================================================
> --- llvm/trunk/include/llvm/MC/ConstantPools.h (original)
> +++ llvm/trunk/include/llvm/MC/ConstantPools.h Sun Oct 12 17:49:26 2014
> @@ -15,7 +15,9 @@
>  #ifndef LLVM_MC_CONSTANTPOOLS_H
>  #define LLVM_MC_CONSTANTPOOLS_H
>
> +#include "llvm/ADT/MapVector.h"
>  #include "llvm/ADT/SmallVector.h"
> +
>  namespace llvm {
>  class MCContext;
>  class MCExpr;
>
> Modified: llvm/trunk/lib/Analysis/BlockFrequencyInfoImpl.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/BlockFrequencyInfoImpl.cpp?rev=219592&r1=219591&r2=219592&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Analysis/BlockFrequencyInfoImpl.cpp (original)
> +++ llvm/trunk/lib/Analysis/BlockFrequencyInfoImpl.cpp Sun Oct 12 17:49:26
> 2014
> @@ -13,8 +13,8 @@
>
>  #include "llvm/Analysis/BlockFrequencyInfoImpl.h"
>  #include "llvm/ADT/SCCIterator.h"
> +#include "llvm/Support/Debug.h"
>

Thanks for turning the modules bot green again! I've (hopefully) fixed this
issue in a more comprehensive way in r219593.


>  #include "llvm/Support/raw_ostream.h"
> -#include <deque>
>
>  using namespace llvm;
>  using namespace llvm::bfi_detail;
>
> Modified: llvm/trunk/lib/Support/Unix/Process.inc
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Unix/Process.inc?rev=219592&r1=219591&r2=219592&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Support/Unix/Process.inc (original)
> +++ llvm/trunk/lib/Support/Unix/Process.inc Sun Oct 12 17:49:26 2014
> @@ -27,6 +27,9 @@
>  #ifdef HAVE_SYS_RESOURCE_H
>  #include <sys/resource.h>
>  #endif
> +#ifdef HAVE_SYS_STAT_H
> +#include <sys/stat.h>
> +#endif
>  #if HAVE_SIGNAL_H
>  #include <signal.h>
>  #endif
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141012/c1c45d9c/attachment.html>


More information about the llvm-commits mailing list