aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/ExtractAPI/API.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2022-04-11 12:32:40 -0400
committerLouis Dionne <ldionne.2@gmail.com>2022-04-12 13:44:30 -0400
commit0cc34ca7ecfc9d0efee322f60ed6c3169f4f70ca (patch)
tree1bf5caa1a0a785913f0eaf737310e5e78415f6e7 /clang/lib/ExtractAPI/API.cpp
parentcfa4fe7c51870fe6b480d541938f556cf0736fa2 (diff)
downloadllvm-0cc34ca7ecfc9d0efee322f60ed6c3169f4f70ca.zip
llvm-0cc34ca7ecfc9d0efee322f60ed6c3169f4f70ca.tar.gz
llvm-0cc34ca7ecfc9d0efee322f60ed6c3169f4f70ca.tar.bz2
[libc++] Define legacy symbols for inline functions at a finer-grained level
When we build the library with the stable ABI, we need to include some functions in the dylib that were made inline in later versions of the library (to avoid breaking code that might be relying on those symbols). However, those methods were made non-inline whenever we'd be building the library, which means that all translation units would end up using the old out-of-line definition of these methods, as opposed to the new inlined version. This patch makes it so that only the translation units that actually define the out-of-line methods use the old definition, opening up potential optimization opportunities in other translation units. This should solve some of the issues encountered in D65667. Differential Revision: https://reviews.llvm.org/D123519
Diffstat (limited to 'clang/lib/ExtractAPI/API.cpp')
0 files changed, 0 insertions, 0 deletions