[PATCH] D18736: [llvm-c] Improve IR Introspection: Add LLVM{Get, Set}ModuleIdentifier

Amaury SECHET via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 3 14:29:58 PDT 2016


deadalnix requested changes to this revision.
deadalnix added a reviewer: deadalnix.

================
Comment at: tools/llvm-c-test/echo.cpp:221
@@ +220,3 @@
+      report_fatal_error("LLVM{Set,Get}ModuleIdentifier failed");
+  LLVMSetModuleIdentifier(M, OldName);
+
----------------
whitequark wrote:
> Why is this in clone_constant? It should be in llvm_echo below (and only executed once...)
This has nothing to do here.


http://reviews.llvm.org/D18736





More information about the llvm-commits mailing list