<div dir="ltr"><div class="gmail_default" style>On Thu, Jan 10, 2013 at 1:55 PM, Jakub Staszak <span dir="ltr"><<a href="mailto:kubastaszak@gmail.com" target="_blank" class="cremed">kubastaszak@gmail.com</a>></span> wrote:<br>
</div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: kuba<br>
Date: Thu Jan 10 15:55:02 2013<br>
New Revision: 172112<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=172112&view=rev" target="_blank" class="cremed">http://llvm.org/viewvc/llvm-project?rev=172112&view=rev</a><br>
Log:<br>
Rename LinkAllVMCore.h to LinkAllIR.h since VMCore directory was renamed to IR.<br></blockquote><div><br></div><div style>So, I hadn't forgotten about this. ;] But this shouldn't just be renamed, it should move. And I'm not sure it should be renamed to this or move at all.</div>
<div style><br></div><div style>Anyways, thanks for fixing up the includes. If you'd like to help with the long tail here, I'm happy to have it, but we should chat about where / how the final headers move around, and it's important (for the build bots) to get the includes fixed in the same commit where possible.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Added:<br>
    llvm/trunk/include/llvm/LinkAllIR.h<br>
      - copied, changed from r172110, llvm/trunk/include/llvm/LinkAllVMCore.h<br>
Removed:<br>
    llvm/trunk/include/llvm/LinkAllVMCore.h<br>
<br>
Copied: llvm/trunk/include/llvm/LinkAllIR.h (from r172110, llvm/trunk/include/llvm/LinkAllVMCore.h)<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/LinkAllIR.h?p2=llvm/trunk/include/llvm/LinkAllIR.h&p1=llvm/trunk/include/llvm/LinkAllVMCore.h&r1=172110&r2=172112&rev=172112&view=diff" target="_blank" class="cremed">http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/LinkAllIR.h?p2=llvm/trunk/include/llvm/LinkAllIR.h&p1=llvm/trunk/include/llvm/LinkAllVMCore.h&r1=172110&r2=172112&rev=172112&view=diff</a><br>

==============================================================================<br>
--- llvm/trunk/include/llvm/LinkAllVMCore.h (original)<br>
+++ llvm/trunk/include/llvm/LinkAllIR.h Thu Jan 10 15:55:02 2013<br>
@@ -1,4 +1,4 @@<br>
-//===- LinkAllVMCore.h - Reference All VMCore Code --------------*- C++ -*-===//<br>
+//===----- LinkAllIR.h - Reference All VMCore Code --------------*- C++ -*-===//<br>
 //<br>
 //                      The LLVM Compiler Infrastructure<br>
 //<br>
@@ -13,8 +13,8 @@<br>
 //<br>
 //===----------------------------------------------------------------------===//<br>
<br>
-#ifndef LLVM_LINKALLVMCORE_H<br>
-#define LLVM_LINKALLVMCORE_H<br>
+#ifndef LLVM_LINKALLIR_H<br>
+#define LLVM_LINKALLIR_H<br>
<br>
 #include "llvm/Analysis/Verifier.h"<br>
 #include "llvm/IR/InlineAsm.h"<br>
<br>
Removed: llvm/trunk/include/llvm/LinkAllVMCore.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/LinkAllVMCore.h?rev=172111&view=auto" target="_blank" class="cremed">http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/LinkAllVMCore.h?rev=172111&view=auto</a><br>

==============================================================================<br>
--- llvm/trunk/include/llvm/LinkAllVMCore.h (original)<br>
+++ llvm/trunk/include/llvm/LinkAllVMCore.h (removed)<br>
@@ -1,53 +0,0 @@<br>
-//===- LinkAllVMCore.h - Reference All VMCore Code --------------*- C++ -*-===//<br>
-//<br>
-//                      The LLVM Compiler Infrastructure<br>
-//<br>
-// This file is distributed under the University of Illinois Open Source<br>
-// License. See LICENSE.TXT for details.<br>
-//<br>
-//===----------------------------------------------------------------------===//<br>
-//<br>
-// This header file pulls in all the object modules of the VMCore library so<br>
-// that tools like llc, opt, and lli can ensure they are linked with all symbols<br>
-// from libVMCore.a It should only be used from a tool's main program.<br>
-//<br>
-//===----------------------------------------------------------------------===//<br>
-<br>
-#ifndef LLVM_LINKALLVMCORE_H<br>
-#define LLVM_LINKALLVMCORE_H<br>
-<br>
-#include "llvm/Analysis/Verifier.h"<br>
-#include "llvm/IR/InlineAsm.h"<br>
-#include "llvm/IR/Instructions.h"<br>
-#include "llvm/IR/IntrinsicInst.h"<br>
-#include "llvm/IR/LLVMContext.h"<br>
-#include "llvm/IR/Module.h"<br>
-#include "llvm/Support/Dwarf.h"<br>
-#include "llvm/Support/DynamicLibrary.h"<br>
-#include "llvm/Support/MathExtras.h"<br>
-#include "llvm/Support/Memory.h"<br>
-#include "llvm/Support/Mutex.h"<br>
-#include "llvm/Support/Path.h"<br>
-#include "llvm/Support/Process.h"<br>
-#include "llvm/Support/Program.h"<br>
-#include "llvm/Support/Signals.h"<br>
-#include "llvm/Support/TimeValue.h"<br>
-#include <cstdlib><br>
-<br>
-namespace {<br>
-  struct ForceVMCoreLinking {<br>
-    ForceVMCoreLinking() {<br>
-      // We must reference VMCore in such a way that compilers will not<br>
-      // delete it all as dead code, even with whole program optimization,<br>
-      // yet is effectively a NO-OP. As the compiler isn't smart enough<br>
-      // to know that getenv() never returns -1, this will do the job.<br>
-      if (std::getenv("bar") != (char*) -1)<br>
-        return;<br>
-      (void)new llvm::Module("", llvm::getGlobalContext());<br>
-      (void)new llvm::UnreachableInst(llvm::getGlobalContext());<br>
-      (void)    llvm::createVerifierPass();<br>
-    }<br>
-  } ForceVMCoreLinking;<br>
-}<br>
-<br>
-#endif<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" class="cremed">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank" class="cremed">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div></div>