https://bugs.llvm.org/show_bug.cgi?id=33569
Bug ID: 33569
Summary: c++ filt unable to demangle enable_if attributes
Product: new-bugs
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: dmacl...@gmail.com
CC: llvm-bugs@lists.llvm.org
Created attachment 18697
--> https://bugs.llvm.org/attachment.cgi?id=18697&action=edit
source code to generate symbol that can't be demangled
__attribute__ ((__enable_if__(true, ""))) int foo() {
return 0;
}
int main()
{
return foo();
}
Compiling with
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.6.0
Thread model: posix
generates a symbol of
_Z3fooUa9enable_ifIXLb1EEEv
for foo
which neither c++filt nor abi::__cxa_demangle can demangle.
These symbols are extremely common now in the C++ headers due to heavy use of
enable_if
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs