aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dimitry@andric.com>2023-04-20 19:43:37 +0200
committerDimitry Andric <dimitry@andric.com>2023-04-20 20:34:54 +0200
commit16949c5c48ab475d34547d4bbbe91df7efe73120 (patch)
treed7aa2896c0a453acc157ab34323cee2fa0ffd072 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parente06a91c5996b039cacd55e6ead0baf14424c740c (diff)
downloadllvm-16949c5c48ab475d34547d4bbbe91df7efe73120.zip
llvm-16949c5c48ab475d34547d4bbbe91df7efe73120.tar.gz
llvm-16949c5c48ab475d34547d4bbbe91df7efe73120.tar.bz2
[compiler-rt] Include system headers before optionally defining HWCAP macros
In https://reviews.llvm.org/D141285 the optional definitions of `HWCAP` macros were moved to before their usage. However, they were also moved to before the inclusion of system headers which can optionally define them. If any of those system headers then actually defined any of the `HWCAP` macros, it would result in a redefinition error. Move the system header includes to just before the optional definitions, to avoid this problem. Reviewed By: ilinpv Differential Revision: https://reviews.llvm.org/D148819
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions