[PATCH] D18736: [llvm-c] Improve IR Introspection: Add LLVM{Get, Set}ModuleIdentifier
whitequark via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 3 03:44:43 PDT 2016
whitequark added inline comments.
================
Comment at: tools/llvm-c-test/echo.cpp:221
@@ +220,3 @@
+ report_fatal_error("LLVM{Set,Get}ModuleIdentifier failed");
+ LLVMSetModuleIdentifier(M, OldName);
+
----------------
Why is this in clone_constant? It should be in llvm_echo below (and only executed once...)
http://reviews.llvm.org/D18736
More information about the llvm-commits
mailing list