Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Changeset 324:c542d12017e5

Show
Ignore:
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
  • gen/toobj.cpp

    r323 r324  
    307307 
    308308    // build ctor name 
    309     std::string fname = gIR->dmodule->mangle(); 
     309    std::string fname = "_D"; 
     310    fname += gIR->dmodule->mangle(); 
    310311    fname += "16__moduleinfoCtorZ"; 
    311312 
     
    321322 
    322323    // create the ModuleReference node for this module 
    323     std::string thismrefname = gIR->dmodule->mangle(); 
     324    std::string thismrefname = "_D"; 
     325    thismrefname += gIR->dmodule->mangle(); 
    324326    thismrefname += "11__moduleRefZ"; 
    325327    LLGlobalVariable* thismref = new LLGlobalVariable(modulerefTy, false, LLGlobalValue::InternalLinkage, thismrefinit, thismrefname, gIR->module); 
Copyright © 2008, LDC Development Team.