[llvm-bugs] [Bug 40875] New: [feature suggestion] Please split out dump() and other debug functionality into a separate library

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 26 11:40:59 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=40875

            Bug ID: 40875
           Summary: [feature suggestion] Please split out dump() and other
                    debug functionality into a separate library
           Product: Runtime Libraries
           Version: trunk
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: other
          Assignee: unassignedbugs at nondot.org
          Reporter: yuri at tsoft.com
                CC: llvm-bugs at lists.llvm.org

The Intel's ISPC compiler [1] and flang compiler expect dump() function to be
present while it is commonly excluded in the packages. LLVM_ENABLE_DUMP is a
relevant cmake variable.

It is difficult to build LLVM with custom options for individual other
projects.

Suggested solution:
Please add a separate library that would contain functions disabled by
LLVM_ENABLE_DUMP=OFF, for example libLLVMDebug.so

This library can be installed as a sub-package, or as a separate package, and
would eliminate the problem.

---References---
[1] ISPS bug report. https://github.com/ispc/ispc/issues/1427

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190226/78cc1337/attachment.html>


More information about the llvm-bugs mailing list