7
votes
Vote UpVote

CLANG, template debuginfo and linker out of memory

Andy's Blog – The CLANG compiler that is used for BCC64 in XE3, XE4 and XE5 has a “bloated object file” problem if it comes to debug information for deeply nested templates. The generated object file can easily grow to 100 MB with a single line of code. int main(int argc, char *argv[]) { std::map<TEnumA, std::map<TEnumB, std::map<TEnumC, std::map<TEnumD, std::map<TEnumE, std::map<TEnumF, std::map<TEnumG, std::map<TEnumH, std::map<TEnumI, std::map<TEnumJ, std::map<TEnumK, std::map<TEnumL, std::map<TEnumM, char* > > > > > > > > > > ...
Favorite? Off-Topic? Andreas Hausladen @ 2013-12-08 13:47

Statistics

Visits: 752
Votes: 7
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

François
Mohammed Nasman
Paul Thornton
Primoz Gabrijelcic
stukelly
TOndrej
Yogi Yang
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)