This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Fix LIBUNWIND_ENABLE_CET build after D110005
ClosedPublic

Authored by xiongji90 on Oct 17 2022, 10:57 PM.

Details

Summary

In https://reviews.llvm.org/D110005, LLVM runtime libraries unify names used by compiler flag check in cmake, we need to update LIBUNWIND_SUPPORTS_* flag used in libunwind cmake too.

Diff Detail

Event Timeline

xiongji90 created this revision.Oct 17 2022, 10:57 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptOct 17 2022, 10:57 PM
Herald added a project: Restricted Project. · View Herald Transcript
xiongji90 requested review of this revision.Oct 17 2022, 10:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 17 2022, 10:57 PM

Hi, @MaskRay and @compnerd
Could you help review this little fix for libunwind CET build break?

Thanks very much.

mstorsjo accepted this revision.Oct 18 2022, 3:19 AM
mstorsjo added a subscriber: mstorsjo.

LGTM, and sorry for the accidental breakage.

This revision is now accepted and ready to land.Oct 18 2022, 3:19 AM
MaskRay added inline comments.Oct 18 2022, 9:47 AM
libunwind/CMakeLists.txt
163

Where is this defined?

166

Where is this defined?

MaskRay accepted this revision.Oct 18 2022, 10:58 AM
MaskRay retitled this revision from Fix libunwind CET build break to [CMake] Fix LIBUNWIND_ENABLE_CET build.Oct 18 2022, 2:56 PM
MaskRay retitled this revision from [CMake] Fix LIBUNWIND_ENABLE_CET build to [CMake] Fix LIBUNWIND_ENABLE_CET build after D110005.Oct 18 2022, 2:59 PM
This revision was landed with ongoing or failed builds.Oct 18 2022, 3:00 PM
This revision was automatically updated to reflect the committed changes.