[llvm-bugs] [Bug 32274] XRay should not use C++ standard libraries internally

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Oct 22 20:34:32 PDT 2017


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

Dean Michael Berris <dberris at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #3 from Dean Michael Berris <dberris at google.com> ---
Re-opening to reflect the most recent state: we should not be using anything
from the C++ standard library. This is based on the conversation we've had in
llvm-dev@:

http://lists.llvm.org/pipermail/llvm-dev/2017-October/118126.html

In particular:

"""
The sanitizers don't use any of the C++ std library.
More than that, they don't include *any* system headers in most of the
sources (exception is some OS-dependent .cc files).

This rule is *somewhat* documented, e.g.
tsan/rtl/tsan_rtl.h:

//   - No system headers included in header files (*).
//   - Platform specific headres included only into platform-specific files
(*).
"""

http://lists.llvm.org/pipermail/llvm-dev/2017-October/118132.html

-- 
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/20171023/da810206/attachment.html>


More information about the llvm-bugs mailing list