[llvm-bugs] [Bug 30580] New: lldb fails to link when -fvisibility=hidden used

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 30 11:20:58 PDT 2016


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

            Bug ID: 30580
           Summary: lldb fails to link when -fvisibility=hidden used
           Product: lldb
           Version: 3.9
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: dane at mapbox.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The entire llvm project builds and links okay with `-fvisibility=hidden` except
lldb. If this flag is used with `lldb` then linking errors break the build:
https://gist.github.com/springmeyer/b1613366c32660ce26a847270e3dd4df.

Ideally the lldb code would be able to be built with `-fvisibility=hidden`. The
advantage of this is that the lldb binaries would be smaller.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160930/cf8dfb64/attachment-0001.html>


More information about the llvm-bugs mailing list