Mercurial > projects > ldc
annotate gen/linkage.cpp @ 1647:638a823ace45
Strange workaround for returning from within 'void main()'. The new dmdfe sets the ReturnStatement->exp to null. Fixed bug #391.
author | Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
---|---|
date | Wed, 10 Mar 2010 19:35:14 -0700 |
parents | 9176437d98be |
children |
rev | line source |
---|---|
1644
9176437d98be
Add -linkonce-templates for emitting linkonce_odr syms instead of weak_odr.
Matti Niemenmaa <matti.niemenmaa+hg@iki.fi>
parents:
diff
changeset
|
1 #include "linkage.h" |
9176437d98be
Add -linkonce-templates for emitting linkonce_odr syms instead of weak_odr.
Matti Niemenmaa <matti.niemenmaa+hg@iki.fi>
parents:
diff
changeset
|
2 #include "gen/cl_options.h" |
9176437d98be
Add -linkonce-templates for emitting linkonce_odr syms instead of weak_odr.
Matti Niemenmaa <matti.niemenmaa+hg@iki.fi>
parents:
diff
changeset
|
3 |
9176437d98be
Add -linkonce-templates for emitting linkonce_odr syms instead of weak_odr.
Matti Niemenmaa <matti.niemenmaa+hg@iki.fi>
parents:
diff
changeset
|
4 LLGlobalValue::LinkageTypes templateLinkage; |