[PATCH] D17946: Add a flag to the LLVMContext to disable name for Value other than GlobalValue

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 7 16:26:48 PST 2016


tejohnson added a subscriber: tejohnson.
tejohnson added a comment.

What about from llvm-lto, do you want an option there too? Right now it will use the NDEBUG behavior in LTOCodeGenerator's constructor.

Note to self: add similar flag and set on context from gold plugin too when this goes in.


================
Comment at: lib/AsmParser/LLParser.cpp:52
@@ +51,3 @@
+        Lex.getLoc(),
+        "Can read textual IR with a Context that doesn't support named Values");
+
----------------
Do you mean "Can't read..."?


http://reviews.llvm.org/D17946





More information about the llvm-commits mailing list