diff options
| author | Shoaib Meenai <smeenai@fb.com> | 2017-06-29 02:52:46 +0000 |
|---|---|---|
| committer | Shoaib Meenai <smeenai@fb.com> | 2017-06-29 02:52:46 +0000 |
| commit | 8e07cadde0ba53385afd4762af3a12412609483b (patch) | |
| tree | 2d6d28f068c319a216b8bca3243540fa1e5c8949 /llvm/utils/lldbDataFormatters.py | |
| parent | d16a61d2c84b73144f232dcd75b6c5e03f9f898c (diff) | |
| download | bcm5719-llvm-8e07cadde0ba53385afd4762af3a12412609483b.tar.gz bcm5719-llvm-8e07cadde0ba53385afd4762af3a12412609483b.zip | |
[libc++] Hoist explicit instantiation above implicit. NFC
The string literal operators have implicit instantiations of
basic_string<char> and basic_string<wchar>, which prevent the dllimport
on the subsequent explicit instantiation declarations from having an
effect. Hoisting the explicit instantiations above the implicit ones
fixes the issue.
I think it's pretty unfortunate that the ordering has such an effect,
and I'd fixed the same issue for dllexport in r288682. dllimport is more
complicated from a codegen perspective, however, and clang's behavior of
ignoring the dllimport when there's a previous implicit instantiation is
consistent with cl, so changing the order is our only recourse.
llvm-svn: 306632
Diffstat (limited to 'llvm/utils/lldbDataFormatters.py')
0 files changed, 0 insertions, 0 deletions

