diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2013-10-06 22:13:21 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2013-10-06 22:13:21 +0000 |
| commit | 3b5d969293026eed9b6444eddb1ce48a8615a11f (patch) | |
| tree | 024f58720d6762d4abc7e517a5e1522032225f0e /llvm/lib/Support/CommandLine.cpp | |
| parent | 26dd09e57fffb23f5765ec6f7b9c0ef7b79afc82 (diff) | |
| download | llvm-3b5d969293026eed9b6444eddb1ce48a8615a11f.zip llvm-3b5d969293026eed9b6444eddb1ce48a8615a11f.tar.gz llvm-3b5d969293026eed9b6444eddb1ce48a8615a11f.tar.bz2 | |
Implement std::exception_ptr under libsupc++.
libsupc++ does not implement the dependent EH ABI and the
functionality it uses to implement std::exception_ptr (which it
declares as an alias of std::__exception_ptr::exception_ptr) is not
directly exported to clients. So we have little choice but to hijack
std::__exception_ptr::exception_ptr's (which fortunately has the
same layout as our std::exception_ptr) copy constructor, assignment
operator and destructor (which are part of its stable ABI), and its
rethrow_exception(std::__exception_ptr::exception_ptr) function.
Also, remove some out of date comments.
Differential Revision: http://llvm-reviews.chandlerc.com/D1826
llvm-svn: 192076
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions
