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

via lldb-dev lldb-dev at lists.llvm.org
Fri Jun 23 11:43:03 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33572

            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 at lists.llvm.org
          Reporter: dmaclach at gmail.com
                CC: llvm-bugs at 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170623/024c597d/attachment.html>


More information about the lldb-dev mailing list