aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetPassConfig.cpp
diff options
context:
space:
mode:
authorSergej Jaskiewicz <jaskiewiczs@icloud.com>2020-03-10 18:53:07 +0300
committerSergej Jaskiewicz <jaskiewiczs@icloud.com>2020-03-10 18:54:28 +0300
commitf7c4d796ba67dba27361d07a77eefde05d2e0c9c (patch)
tree8916505cd131e4f56c41bda1beb87a8c4c9a7eae /llvm/lib/CodeGen/TargetPassConfig.cpp
parentc8ede5e4858e72a9e7511ef93bf9de04f6e0cad1 (diff)
downloadllvm-f7c4d796ba67dba27361d07a77eefde05d2e0c9c.zip
llvm-f7c4d796ba67dba27361d07a77eefde05d2e0c9c.tar.gz
llvm-f7c4d796ba67dba27361d07a77eefde05d2e0c9c.tar.bz2
[compiler-rt] Define ElfW() macro if it's not defined
Summary: The `ElfW()` macro is not provided by `<link.h>` on some systems (e.g., FreeBSD). On these systems the data structures are just called `Elf_XXX`. Define `ElfW()` locally. (This fix is taken from [libunwind](https://github.com/llvm/llvm-project/blob/9b05596eff21388ae6f17cdea8df0538dc630441/libunwind/src/AddressSpace.hpp#L144-L157).) Reviewers: compnerd Differential revision: https://reviews.llvm.org/D75907
Diffstat (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp')
0 files changed, 0 insertions, 0 deletions