diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2022-02-12 10:29:33 +0100 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2022-02-16 09:45:54 +0100 |
| commit | 2d2ef384b2f6e723edb793d08f52e7f4dc94ba3a (patch) | |
| tree | f80d411d48fb0d08097ed088bc58a8ffb291ff71 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
| parent | b66b3247f598448aab50d8ae67729dd2312f3067 (diff) | |
| download | llvm-2d2ef384b2f6e723edb793d08f52e7f4dc94ba3a.zip llvm-2d2ef384b2f6e723edb793d08f52e7f4dc94ba3a.tar.gz llvm-2d2ef384b2f6e723edb793d08f52e7f4dc94ba3a.tar.bz2 | |
[libunwind] Only include cet.h if __CET__ defined
We should not assume that the cet.h header exists just because
we're on x86 linux. Only include it if __CET__ is defined. This
makes the code more similar to what compiler-rt does in
https://github.com/llvm/llvm-project/blob/ee423d93ead39e94c2970b3cc7ef6e6faa75d10b/compiler-rt/lib/builtins/assembly.h#L17
(though that one also has a __has_include() check -- I've not found
that to be necessary).
Differential Revision: https://reviews.llvm.org/D119697
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions
