diff options
author | Raphael Isemann <teemperor@gmail.com> | 2020-02-19 10:00:02 +0100 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2020-02-19 10:21:36 +0100 |
commit | 2bab1738f39606324f7bd4c71de1354288c63285 (patch) | |
tree | 0b93f7ca72327806be8b3e1877ff5e14e559f893 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9ed920444f66a1796c952997d76977549384e201 (diff) | |
download | llvm-2bab1738f39606324f7bd4c71de1354288c63285.zip llvm-2bab1738f39606324f7bd4c71de1354288c63285.tar.gz llvm-2bab1738f39606324f7bd4c71de1354288c63285.tar.bz2 |
[lldb] Make TestFormatters.py not rely on working constructor calls
All calls to operator new in this test fail for me with:
```
expression --show-types -- *(new foo(47))`
Error output:
error: Execution was interrupted, reason: internal c++ exception breakpoint(-6)..
The process has been returned to the state before expression evaluation.
```
As calling operator new isn't the idea of this test, this patch moves that
logic to the binary with some new_* utility functions and explicitly tests
this logic in the constructor test (where we can isolate the failures and
skip them on Linux).
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions