diff options
author | Petr Hosek <phosek@google.com> | 2024-09-19 23:07:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-19 23:07:27 -0700 |
commit | 5e7810882c8b58431358cd8da3a329a3c505de2c (patch) | |
tree | 16355c366b4a833ca06e9edea8bf7cae6c0147a8 /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | d2d78e584b7489066772638d1c48db9d61f5a3f7 (diff) | |
download | llvm-5e7810882c8b58431358cd8da3a329a3c505de2c.zip llvm-5e7810882c8b58431358cd8da3a329a3c505de2c.tar.gz llvm-5e7810882c8b58431358cd8da3a329a3c505de2c.tar.bz2 |
[libcxx] Use __libcpp_verbose_abort for error messages (#108873)
Rather than using the following sequence of calls:
```
fprintf(stderr, "...");
::abort();
```
We should use the following:
```
__libcpp_verbose_abort("...")
```
This simplifies the code and ensures the behavior is consistent across
all call sites.
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions