[PATCH] D16590: Refactor backend diagnostics for unsupported features

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 27 10:49:17 PST 2016


tra added a subscriber: tra.

================
Comment at: llvm/trunk/lib/CodeGen/DiagnosticInfoCodeGen.cpp:27
@@ +26,3 @@
+  if (Value)
+    Value->print(OS);
+  OS << '\n';
----------------
This creates circular dependency between libraries as SDNode->print is in SelectionDAG library which in turn depends on CodeGen library.

It works OK with static linking, but breaks the build with shared libraries enabled.



Repository:
  rL LLVM

http://reviews.llvm.org/D16590





More information about the llvm-commits mailing list