diff options
author | John McCall <rjmccall@apple.com> | 2012-05-01 06:13:13 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2012-05-01 06:13:13 +0000 |
commit | 20bb175cb8ae5844034828db094fb948c0e3454a (patch) | |
tree | 47ddb10b5e232580cb19e4092b10d2b45cc46b51 /lib/Basic/Targets.cpp | |
parent | 5729672524865f212cbadb51170dca0694e79a71 (diff) |
Abstract the emission of global destructors into ABI-specific code
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!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155894 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions