https://bugs.llvm.org/show_bug.cgi?id=49824
Bug ID: 49824
Summary: [Meta] Prefer C++ wrapper API for ISL.
Product: Polly
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: isl
Assignee: polly-...@googlegroups.com
Reporter: l...@meinersbur.de
CC: llvm-bugs@lists.llvm.org
The ISL C++ wrapper library isl-noexceptions.h manages resources using RAII.
Manually allocation and releasing ISL object led to many use-after-free bugs
and resource leaks (which ISL complains about in isl_ctx_free). RAII makes this
resource handling less error prone. In addition, the C++ wrapper provides
mechanisms to ensure that errors are not silently ignored, for instance, when
the operation limit is reached.
This is a meta-bug since there are too many function not yet using the C++
wrapper to track them individually.
Recent reviews for converting use of the C APU to C++ include:
https://reviews.llvm.org/D98765
https://reviews.llvm.org/D98455
https://reviews.llvm.org/D97751
https://reviews.llvm.org/D97425
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs