[Bug 33572] New: lldb unable to demangle enable_if attributes

Bug ID 33572
Summary lldb unable to demangle enable_if attributes
Product lldb
Version unspecified
Hardware PC
OS All
Status NEW
Severity enhancement
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter dmaclach@gmail.com
CC llvm-bugs@lists.llvm.org

__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 lldb cannot demangle.

See https://bugs.llvm.org/show_bug.cgi?id=33569 for associated bug for the llvm
demangler.

Erik Pilkington changed bug 33572

What | Removed | Added |

Comment # 1 on bug 33572 from Erik Pilkington


*** This bug has been marked as a duplicate of bug 33569 ***