Changeset 324:c542d12017e5
- Timestamp:
- 07/09/08 18:13:09
(4 years ago)
- Author:
- lindquist
- branch:
- trunk
- Message:
[svn r345] Fixed the new moduleinfo stuff to have consistent symbol names with the D style.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r323 |
r324 |
|
| 307 | 307 | |
|---|
| 308 | 308 | // build ctor name |
|---|
| 309 | | std::string fname = gIR->dmodule->mangle(); |
|---|
| | 309 | std::string fname = "_D"; |
|---|
| | 310 | fname += gIR->dmodule->mangle(); |
|---|
| 310 | 311 | fname += "16__moduleinfoCtorZ"; |
|---|
| 311 | 312 | |
|---|
| … | … | |
| 321 | 322 | |
|---|
| 322 | 323 | // create the ModuleReference node for this module |
|---|
| 323 | | std::string thismrefname = gIR->dmodule->mangle(); |
|---|
| | 324 | std::string thismrefname = "_D"; |
|---|
| | 325 | thismrefname += gIR->dmodule->mangle(); |
|---|
| 324 | 326 | thismrefname += "11__moduleRefZ"; |
|---|
| 325 | 327 | LLGlobalVariable* thismref = new LLGlobalVariable(modulerefTy, false, LLGlobalValue::InternalLinkage, thismrefinit, thismrefname, gIR->module); |
|---|