diff options
author | Lang Hames <lhames@gmail.com> | 2022-05-20 17:36:47 -0700 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2022-05-21 09:02:01 -0700 |
commit | f3428dafdc553d4354062863983a3bbe712e1266 (patch) | |
tree | c82373545eaeb2ebdaad7df7c3b1de0048225820 /clang/unittests/Format/FormatTestJava.cpp | |
parent | 3bebec6592a4dd8a1fb330382fc8dd4162c6bf44 (diff) | |
download | llvm-f3428dafdc553d4354062863983a3bbe712e1266.zip llvm-f3428dafdc553d4354062863983a3bbe712e1266.tar.gz llvm-f3428dafdc553d4354062863983a3bbe712e1266.tar.bz2 |
[ORC] Add a ~ExectionSession destructor to verify that endSession was called.
Clients are required to call ExecutionSession::endSession before destroying the
ExecutionSession. Failure to do so can lead to memory leaks and other difficult
to debug issues. Enforcing this requirement by assertion makes it easy to spot
or debug situations where the contract was not followed.
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions