This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Do not define __PRIVILEGED__
ClosedPublic

Authored by stefanp on Aug 4 2021, 7:32 AM.

Details

Reviewers
nemanjai
lei
NeHuang
Group Reviewers
Restricted Project
Commits
rGa614a28772cb: [PowerPC] Do not define __PRIVILEGED__
Summary

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.

Diff Detail

Event Timeline

stefanp created this revision.Aug 4 2021, 7:32 AM
stefanp requested review of this revision.Aug 4 2021, 7:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2021, 7:32 AM
stefanp added a reviewer: Restricted Project.Aug 5 2021, 7:21 AM
jsji added a subscriber: jsji.Aug 5 2021, 7:36 AM

x64 debian > Clang.Driver::ppc-mprivileged-support-check.c

The changed test is failing ?

NeHuang added a subscriber: NeHuang.Aug 6 2021, 9:08 AM
NeHuang added inline comments.
clang/test/Driver/ppc-mprivileged-support-check.c
25

maybe check for attributes #0 = {

stefanp updated this revision to Diff 365278.Aug 9 2021, 1:23 PM

Revewiers had a good catch where I forgot to add an equals sign to check
in the test case. I've fixed that test now.

lei accepted this revision as: lei.Aug 10 2021, 10:53 AM
This revision is now accepted and ready to land.Aug 10 2021, 10:53 AM
NeHuang accepted this revision as: NeHuang.Aug 11 2021, 5:52 AM

LGTM

This revision was landed with ongoing or failed builds.Aug 11 2021, 12:10 PM
This revision was automatically updated to reflect the committed changes.