[llvm-bugs] [Bug 34633] New: LLVMDumpType() #ifdefed

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 15 13:35:35 PDT 2017


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

            Bug ID: 34633
           Summary: LLVMDumpType() #ifdefed
           Product: libraries
           Version: 5.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Core LLVM classes
          Assignee: unassignedbugs at nondot.org
          Reporter: ken.domino at gmail.com
                CC: llvm-bugs at lists.llvm.org

In LLVM-C, there is a definition for LLVMDumpType(), and it's documented.
LLVMDumpType() is defined in .../lib/ir/Core.cpp and
.../llvm/include/llvm-c/Core.h. LLVMDumpType() as well as LLVMDumpValue() were
#ifdef'ed on Jan 27 2917 by MatzeB. The #ifdef for LLVMDumpValue() was undone
Jan 30 2017 by sam-mccall, but LLVMDumpType() was not. Can someone please clean
this up? Remove the #ifdef's for LLVMDumpType() and make it consistent with
LLVMDumpValue(). If it's not supposed to be in the API, remove this and
LLVMDumpValue() completely. The API shouldn't be promising something in a
header file and not deliver something in the binary at least something, even if
a stub.

-- 
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/20170915/9ed2b42d/attachment.html>


More information about the llvm-bugs mailing list