summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Abstract the emission of global destructors into ABI-specific codeJohn McCall2012-05-011-0/+52
and only consider using __cxa_atexit in the Itanium logic. The default logic is to use atexit(). Emit "guarded" initializers in Microsoft mode unconditionally. This is definitely not correct, but it's closer to correct than just not emitting the initializer. Based on a patch by Timur Iskhodzhanov! llvm-svn: 155894
OpenPOWER on IntegriCloud