diff gen/cl_options.cpp @ 1644:9176437d98be

Add -linkonce-templates for emitting linkonce_odr syms instead of weak_odr.
author Matti Niemenmaa <matti.niemenmaa+hg@iki.fi>
date Tue, 09 Mar 2010 23:07:08 +0200
parents 8863cf7236e6
children
line wrap: on
line diff
--- a/gen/cl_options.cpp	Mon Mar 08 23:37:40 2010 -0700
+++ b/gen/cl_options.cpp	Tue Mar 09 23:07:08 2010 +0200
@@ -313,6 +313,9 @@
     cl::desc("Create only a single output object file"),
     cl::ZeroOrMore);
 
+cl::opt<bool> linkonceTemplates("linkonce-templates",
+    cl::desc("Use linkonce_odr linkage for template symbols instead of weak_odr"),
+    cl::ZeroOrMore);
 
 static cl::extrahelp footer("\n"
 "-d-debug can also be specified without options, in which case it enables all\n"