[PATCH] Introduce Target::createNullTargetStreamer and use it from IRObjectFile.

Peter Collingbourne peter at pcc.me.uk
Wed Feb 18 16:47:37 PST 2015


> With this TargetRegistry::RegisterNullStreamer becomes redundant, no? It will always be llvm::createNullStreamer + the new hook.

> 

> If so, please add a FIXME about it.


Correct. It was simple enough to remove the hook though, which I did in r229799.


REPOSITORY
  rL LLVM

================
Comment at: include/llvm/Support/TargetRegistry.h:465
@@ +464,3 @@
+        return NullTargetStreamerCtorFn(S);
+      return 0;
+    }
----------------
rafael wrote:
> nullptr
Done

http://reviews.llvm.org/D7711

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list