[Bug 49824] New: [Meta] Prefer C++ wrapper API for ISL.

3 views
Skip to first unread message

bugzill...@llvm.org

unread,
Apr 2, 2021, 9:29:17 PMApr 2
to poll...@googlegroups.com
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 poll...@googlegroups.com
Reporter ll...@meinersbur.de
CC llvm...@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 the assignee for the bug.
Reply all
Reply to author
Forward
0 new messages