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: [...]
Resolved by r228066.