[Bazel] Don't set HAVE_[DE]REGISTER_FRAME on Windows
authorGeoffrey Martin-Noble <gcmn@google.com>
Wed, 18 Aug 2021 18:19:31 +0000 (11:19 -0700)
committerGeoffrey Martin-Noble <gcmn@google.com>
Wed, 18 Aug 2021 18:20:25 +0000 (11:20 -0700)
commit811dbecaf5eafc434ba290784c787b49c293d0b8
tree525d8aa578ca796f1ed867b50baba5f5371108bc
parentfde0eb1f9ad4cbd5769484ad7707a2d45730904e
[Bazel] Don't set HAVE_[DE]REGISTER_FRAME on Windows

This is also done based on OS in the GN build
(https://github.com/llvm/llvm-project/blob/24b0df8686/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn#L193-L203).
Of course the right way would be to set up platform detection, but that
remains TODO.

Reviewed By: csigg

Differential Revision: https://reviews.llvm.org/D107375
utils/bazel/llvm-project-overlay/llvm/config.bzl
utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h