[all-commits] [llvm/llvm-project] b0343a: Support the min of module flags when linking, use ...
Dani via All-commits
all-commits at lists.llvm.org
Wed Apr 13 00:32:04 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b0343a38a5910e980bb031e4014655d77cd0c162
https://github.com/llvm/llvm-project/commit/b0343a38a5910e980bb031e4014655d77cd0c162
Author: Daniel Kiss <daniel.kiss at arm.com>
Date: 2022-04-13 (Wed, 13 Apr 2022)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/test/CodeGen/aarch64-sign-return-address.c
M clang/test/CodeGen/arm-branch-protection-attr-2.c
M clang/test/Frontend/arm-ignore-branch-protection-option.c
M llvm/include/llvm/IR/Module.h
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Linker/IRMover.cpp
A llvm/test/Bitcode/upgrade-branch-protection.ll
M llvm/test/CodeGen/AArch64/debug-info-sve-dbg-declare.mir
M llvm/test/CodeGen/AArch64/live-debugvalues-sve.mir
M llvm/test/CodeGen/AArch64/memsize-remarks.ll
M llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-0.ll
M llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-1.ll
M llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-2.ll
M llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-3.ll
M llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-4.ll
M llvm/test/CodeGen/AArch64/pacbti-llvm-generated-funcs-2.ll
M llvm/test/CodeGen/AArch64/pacbti-module-attrs.ll
M llvm/test/CodeGen/AArch64/setjmp-bti-no-enforcement.ll
M llvm/test/CodeGen/AArch64/setjmp-bti-outliner.ll
M llvm/test/CodeGen/AArch64/setjmp-bti.ll
M llvm/test/CodeGen/ARM/pacbti-module-attrs.ll
M llvm/test/CodeGen/ARM/setjmp-bti-basic.ll
M llvm/test/CodeGen/ARM/setjmp-bti-outliner.ll
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/skip-vpt-debug.mir
M llvm/test/CodeGen/Thumb2/bti-const-island-multiple-jump-tables.mir
M llvm/test/CodeGen/Thumb2/bti-const-island.mir
M llvm/test/CodeGen/Thumb2/bti-entry-blocks.ll
M llvm/test/CodeGen/Thumb2/bti-indirect-branches.ll
M llvm/test/CodeGen/Thumb2/bti-jump-table.mir
M llvm/test/CodeGen/Thumb2/bti-outliner-1.ll
M llvm/test/CodeGen/Thumb2/bti-outliner-2.ll
M llvm/test/CodeGen/Thumb2/bti-outliner-cost-1.ll
M llvm/test/CodeGen/Thumb2/bti-outliner-cost-2.ll
M llvm/test/CodeGen/Thumb2/bti-pac-replace-1.mir
M llvm/test/CodeGen/Thumb2/bti-pac-replace-2.ll
M llvm/test/CodeGen/Thumb2/pacbti-m-basic.ll
M llvm/test/CodeGen/Thumb2/pacbti-m-indirect-tail-call.ll
M llvm/test/CodeGen/Thumb2/pacbti-m-outliner-1.ll
M llvm/test/CodeGen/Thumb2/pacbti-m-outliner-2.ll
M llvm/test/CodeGen/Thumb2/pacbti-m-outliner-3.ll
M llvm/test/CodeGen/Thumb2/pacbti-m-outliner-4.ll
M llvm/test/CodeGen/Thumb2/pacbti-m-outliner-5.ll
M llvm/test/CodeGen/Thumb2/pacbti-m-overalign.ll
M llvm/test/CodeGen/Thumb2/pacbti-m-unsupported-arch.ll
M llvm/test/CodeGen/Thumb2/pacbti-m-varargs-1.ll
M llvm/test/CodeGen/Thumb2/pacbti-m-varargs-2.ll
M llvm/test/CodeGen/Thumb2/pacbti-m-vla.ll
M llvm/test/DebugInfo/AArch64/debugline-endsequence.ll
M llvm/test/Instrumentation/InstrProfiling/debug-info-correlate-coverage.ll
M llvm/test/Instrumentation/InstrProfiling/debug-info-correlate.ll
A llvm/test/LTO/AArch64/Inputs/foo.ll
A llvm/test/LTO/AArch64/link-branch-target-enforcement.ll
A llvm/test/LTO/AArch64/lit.local.cfg
M llvm/test/Verifier/module-flags-1.ll
Log Message:
-----------
Support the min of module flags when linking, use for AArch64 BTI/PAC-RET
LTO objects might compiled with different `mbranch-protection` flags which will cause an error in the linker.
Such a setup is allowed in the normal build with this change that is possible.
Reviewed By: pcc
Differential Revision: https://reviews.llvm.org/D123493
More information about the All-commits
mailing list