Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
1643:8f121883bce8 | 1644:9176437d98be |
---|---|
311 | 311 |
312 cl::opt<bool> singleObj("singleobj", | 312 cl::opt<bool> singleObj("singleobj", |
313 cl::desc("Create only a single output object file"), | 313 cl::desc("Create only a single output object file"), |
314 cl::ZeroOrMore); | 314 cl::ZeroOrMore); |
315 | 315 |
316 cl::opt<bool> linkonceTemplates("linkonce-templates", | |
317 cl::desc("Use linkonce_odr linkage for template symbols instead of weak_odr"), | |
318 cl::ZeroOrMore); | |
316 | 319 |
317 static cl::extrahelp footer("\n" | 320 static cl::extrahelp footer("\n" |
318 "-d-debug can also be specified without options, in which case it enables all\n" | 321 "-d-debug can also be specified without options, in which case it enables all\n" |
319 "debug checks (i.e. (asserts, boundchecks, contracts and invariants) as well\n" | 322 "debug checks (i.e. (asserts, boundchecks, contracts and invariants) as well\n" |
320 "as acting as -d-debug=1\n\n" | 323 "as acting as -d-debug=1\n\n" |