[LLVMbugs] [Bug 22419] New: Enforce default visibilty for implement declarations of sized deallocation functions.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 30 15:28:23 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22419

            Bug ID: 22419
           Summary: Enforce default visibilty for implement declarations
                    of sized deallocation functions.
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++14
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lvoufo at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The following should not mark the (implicit) sized deallocation function
"hidden", but it currently does.

$ echo 'void f(int *p) { delete p; }' | ./build/bin/clang -x c++ - -emit-llvm
-S -o - -std=c++14 -fvisibility=hidden

Output:
------- 

[...]

; Function Attrs: nobuiltin nounwind ssp uwtable
define linkonce hidden void @_ZdlPvm(i8*, i64) #1 {
entry:

[...]

-- 
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/20150130/c54aba05/attachment.html>


More information about the llvm-bugs mailing list