diff options
| author | Eric Fiselier <eric@efcs.ca> | 2017-11-20 20:23:27 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2017-11-20 20:23:27 +0000 |
| commit | 506a09ba0fd11f0cf302cda3d84b0e1ec3cfee97 (patch) | |
| tree | 53d17c799ac4f4df013dc9a83f245cf4ee33c4b8 /llvm/tools/llvm-rc/ResourceScriptParser.cpp | |
| parent | 31275d4472830967c406086b0f7ddf5ae08595f6 (diff) | |
| download | llvm-506a09ba0fd11f0cf302cda3d84b0e1ec3cfee97.zip llvm-506a09ba0fd11f0cf302cda3d84b0e1ec3cfee97.tar.gz llvm-506a09ba0fd11f0cf302cda3d84b0e1ec3cfee97.tar.bz2 | |
Fix std::string::data() symbol during library build.
The non-const data() member of std::string is only exposed
in C++17 and beyond. However std::string is externally instantiated
and so the member function needs to be exposed to be externally instantiated.
On Linux and OS X this shouldn't cause a problem, because
_LIBCPP_INLINE_VISIBILITY ensures the symbol is always inlined.
However on Windows, the symbol gets marked dllimport, but
there is no definition to import, causing link errors.
llvm-svn: 318690
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptParser.cpp')
0 files changed, 0 insertions, 0 deletions
