[PATCH] D107461: [PowerPC] Do not define __PRIVILEGED__

Stefan Pintilie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 4 07:32:30 PDT 2021


stefanp created this revision.
stefanp added reviewers: nemanjai, lei.
Herald added subscribers: shchenz, kbarton.
stefanp requested review of this revision.
Herald added a project: clang.

We do not want to define __PRIVILEGED__. There is no use case for the
definition and gcc does not define it. This patch removes that definition.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107461

Files:
  clang/lib/Basic/Targets/PPC.cpp
  clang/test/Driver/ppc-mprivileged-support-check.c
  clang/test/Preprocessor/init-ppc64.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107461.364103.patch
Type: text/x-patch
Size: 6927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210804/74df9e16/attachment.bin>


More information about the cfe-commits mailing list