Because the class is marked as dllexport and instantiated in
algorithm.cpp and is strongly defined in system_error.cpp, we end up
with multiple definitions. By keeping the definition as an inline
definition, the dllexport will instantiate it. Being inlined, they
will be marked as COMDAT(SELECT_ANY) and will still be exported from the
dll.
Details
Details
- Reviewers
mclow.lists majnemer EricWF
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I committed a different fix for this patch in r290840.
Instead of just fixing this on Windows it makes the removal of this definition an ABI option, which it then disables on Windows by default.