[llvm-bugs] [Bug 31440] New: Make __sanitizer_annotate_contiguous_container() always visible

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Dec 20 15:30:23 PST 2016


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

            Bug ID: 31440
           Summary: Make __sanitizer_annotate_contiguous_container()
                    always visible
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jbeich at vfemail.net
                CC: dimitry at andric.com, llvm-bugs at lists.llvm.org,
                    mclow.lists at gmail.com
    Classification: Unclassified

Created attachment 17778
  --> https://llvm.org/bugs/attachment.cgi?id=17778&action=edit
fix, v0

Mozilla build on any Unix except OS X uses pragma visibility[1] to hide
everything but explicitly listed system headers. Since libc++ uses `extern`
rather than #include <sanitizer/asan_interface.h> this makes it hard to unhide
the symbol as pretty much anything can pull <__config>.

[1] https://github.com/mozilla/gecko-dev/commit/d9626f674645

-- 
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/20161220/a7770ac0/attachment.html>


More information about the llvm-bugs mailing list