Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce default visibilty for implicit declarations of sized deallocation functions. #22793

Closed
llvmbot opened this issue Jan 31, 2015 · 1 comment
Labels
bugzilla Issues migrated from bugzilla c++14

Comments

@llvmbot
Copy link
Member

llvmbot commented Jan 31, 2015

Bugzilla Link 22419
Resolution FIXED
Resolved on Feb 03, 2015 20:48
Version unspecified
OS Linux
Reporter LLVM Bugzilla Contributor
CC @zygoloid

Extended Description

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:

[...]

@llvmbot
Copy link
Member Author

llvmbot commented Feb 4, 2015

Resolved by r228066.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 9, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla c++14
Projects
None yet
Development

No branches or pull requests

1 participant