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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to