diff options
| author | Snehasish Kumar <snehasishk@google.com> | 2020-09-09 17:57:03 -0700 |
|---|---|---|
| committer | Snehasish Kumar <snehasishk@google.com> | 2020-09-10 00:15:33 -0700 |
| commit | 157cd93b48a90f484e9eb2ed9997e0372b9c7ebb (patch) | |
| tree | e07a5dea01a76975136e9afb8a3172c27ac32f3b /llvm/lib/Bitcode/Reader/BitReader.cpp | |
| parent | fea175b59fbdf5d2b95e8fd81ac043479f20fe10 (diff) | |
| download | llvm-157cd93b48a90f484e9eb2ed9997e0372b9c7ebb.zip llvm-157cd93b48a90f484e9eb2ed9997e0372b9c7ebb.tar.gz llvm-157cd93b48a90f484e9eb2ed9997e0372b9c7ebb.tar.bz2 | |
[clang] Disallow fbasic-block-sections on non-ELF, non-x86 targets.
Basic block sections is untested on other platforms and binary formats apart
from x86,elf. This patch emits a warning and drops the flag if the platform
and binary format are not compatible. Add a test to ensure that
specifying an incompatible target in the driver does not enable the
feature.
Differential Revision: https://reviews.llvm.org/D87426
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions
