Set DW_AT_artificial only if argument is marked as artificial.
[oota-llvm.git] / lib / CodeGen / GCMetadata.cpp
index e4ba91aabaf093b350943fec2eca18192ceb308a..055172b4e0e98e4cb667388975b58bbe206f5d5b 100644 (file)
@@ -17,7 +17,7 @@
 #include "llvm/Pass.h"
 #include "llvm/CodeGen/Passes.h"
 #include "llvm/Function.h"
-#include "llvm/Support/Compiler.h"
+#include "llvm/Support/Debug.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/raw_ostream.h"
 using namespace llvm;
@@ -93,7 +93,7 @@ GCStrategy *GCModuleInfo::getOrCreateStrategy(const Module *M,
     }
   }
  
-  errs() << "unsupported GC: " << Name << "\n";
+  dbgs() << "unsupported GC: " << Name << "\n";
   llvm_unreachable(0);
 }