diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-04-02 23:17:29 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-04-02 23:17:29 +0000 |
| commit | 011e0521dc350be64be25c38c7737eebe50589ba (patch) | |
| tree | f0463b180f9039e455d8cf37fc0eb5d0974d5b7d /lib/CodeGen/CodeGenFunction.cpp | |
| parent | e7ba0820c79507fb39f97d8e773cb99d79377b04 (diff) | |
| download | clang-011e0521dc350be64be25c38c7737eebe50589ba.tar.gz clang-011e0521dc350be64be25c38c7737eebe50589ba.tar.bz2 clang-011e0521dc350be64be25c38c7737eebe50589ba.tar.xz | |
CodeGen: Emit some functions as weak_odr under -fms-compatibility
Summary:
MSVC always emits inline functions marked with the extern storage class
specifier. The result is something similar to the opposite of
__attribute__((gnu_inline)).
This extension is also available in C.
This fixes PR19264.
Reviewers: rnk, rsmith
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D3207
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205485 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
