This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt][iwyu] explicitly includes `<new>` in xray_utils.cpp
ClosedPublic

Authored by cjdb on Jul 3 2021, 7:21 PM.

Details

Summary

Compiling compiler-rt with Clang modules and libc++ revealed that the
global operator new is being called without including <new>.

Diff Detail

Event Timeline

cjdb created this revision.Jul 3 2021, 7:21 PM
cjdb requested review of this revision.Jul 3 2021, 7:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2021, 7:21 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
MaskRay accepted this revision.Jul 4 2021, 5:28 PM
This revision is now accepted and ready to land.Jul 4 2021, 5:28 PM