Commit
c5978f42ec8e9f7fa62a38510343440485752ec5
by Tim NorthoverUBSAN: emit distinctive traps
Sometimes people get minimal crash reports after a UBSAN incident. This change tags each trap with an integer representing the kind of failure encountered, which can aid in tracking down the root cause of the problem.
|
 | clang/test/CodeGen/catch-implicit-integer-truncations.c |
 | llvm/lib/Target/X86/X86ISelLowering.cpp |
 | clang/test/CodeGen/catch-alignment-assumption-attribute-assume_aligned-on-function-two-params.cpp |
 | llvm/test/CodeGen/AArch64/ubsantrap.ll |
 | clang/test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-three-params-variable.cpp |
 | clang/test/CodeGen/catch-alignment-assumption-attribute-assume_aligned-on-function.cpp |
 | clang/test/CodeGenCXX/trap-fnattr.cpp |
 | clang/test/CodeGen/catch-nullptr-and-nonzero-offset.c |
 | llvm/lib/Target/X86/X86MCInstLower.cpp |
 | llvm/lib/CodeGen/TargetLoweringBase.cpp |
 | llvm/lib/Target/X86/X86InstrSystem.td |
 | clang/test/CodeGen/catch-pointer-overflow.c |
 | llvm/docs/LangRef.rst |
 | clang/test/CodeGen/catch-pointer-overflow-volatile.c |
 | clang/test/CodeGen/sanitize-trap.c |
 | clang/test/CodeGen/catch-implicit-integer-sign-changes-incdec.c |
 | clang/lib/CodeGen/CGClass.cpp |
 | clang/lib/CodeGen/CGExprScalar.cpp |
 | llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp |
 | clang/test/CodeGen/ubsan-trap-debugloc.c |
 | llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp |
 | llvm/include/llvm/IR/Intrinsics.td |
 | llvm/lib/Target/AArch64/AArch64ISelLowering.cpp |
 | clang/test/CodeGenCXX/cfi-mfcall.cpp |
 | clang/test/CodeGen/catch-undef-behavior.c |
 | clang/test/CodeGen/cfi-check-fail2.c |
 | clang/test/CodeGen/catch-alignment-assumption-openmp.cpp |
 | clang/test/CodeGenCXX/cfi-cast.cpp |
 | clang/test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-two-params.cpp |
 | clang/test/CodeGen/bounds-checking.c |
 | clang/lib/CodeGen/ItaniumCXXABI.cpp |
 | clang/test/CodeGen/catch-implicit-signed-integer-truncations-incdec.c |
 | llvm/test/CodeGen/X86/ubsantrap.ll |
 | llvm/include/llvm/Target/TargetSelectionDAG.td |
 | llvm/lib/Target/AArch64/AArch64InstrInfo.td |
 | clang/lib/CodeGen/CGExpr.cpp |
 | clang/test/CodeGen/unsigned-trapv.c |
 | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp |
 | clang/test/CodeGen/catch-alignment-assumption-attribute-alloc_align-on-function.cpp |
 | clang/test/CodeGenCXX/type-metadata.cpp |
 | clang/test/CodeGen/catch-implicit-integer-truncations-CompoundAssignOperator.c |
 | llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp |
 | clang/test/CodeGen/catch-implicit-signed-integer-truncation-or-sign-change-CompoundAssignOperator.c |
 | clang/test/CodeGen/catch-alignment-assumption-attribute-align_value-on-paramvar.cpp |
 | clang/test/CodeGen/catch-nullptr-and-nonzero-offset-when-nullptr-is-defined.c |
 | clang/test/CodeGen/catch-alignment-assumption-attribute-alloc_align-on-function-variable.cpp |
 | clang/lib/CodeGen/CodeGenFunction.h |
 | clang/test/CodeGen/catch-implicit-integer-sign-changes.c |
 | clang/test/CodeGen/trapv.c |
 | clang/test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-three-params.cpp |
 | clang/test/CodeGen/catch-alignment-assumption-attribute-align_value-on-lvalue.cpp |
 | clang/test/CodeGen/catch-implicit-signed-integer-truncation-or-sign-change.c |
 | llvm/include/llvm/CodeGen/ISDOpcodes.h |
 | clang/test/CodeGen/cfi-check-fail.c |
 | clang/test/CodeGen/catch-implicit-integer-sign-changes-CompoundAssignOperator.c |
Commit
2cfbdaf601049faafb2f1b40f63a3b2bef74a464
by cullen.rhodes[IR] Remove CastInst::isCastable since it is not used
It was removed back in 2013 (f63dfbb) by Matt Arsenault but then reverted since DragonEgg used it, but that project is no longer maintained.
Reviewed By: ldionne, dexonsmith
Differential Revision: https://reviews.llvm.org/D92571
|
 | llvm/unittests/IR/InstructionsTest.cpp |
 | llvm/lib/IR/Instructions.cpp |
 | llvm/include/llvm/IR/InstrTypes.h |
Commit
7af802994eb0521e1b00eda95303f21e874d9f22
by pengfei.wang[CodeGen] Add text section prefix for COFF object file
Text section prefix is created in CodeGenPrepare, it's file format independent implementation, text section name is written into object file in TargetLoweringObjectFile, it's file format dependent implementation, port code of adding text section prefix to text section name from ELF to COFF. Different with ELF that use '.' as concatenation character, COFF use '$' as concatenation character. That is, concatenation character is variable, so split concatenation character from text section prefix. Text section prefix is existing feature of ELF, it can help to reduce icache and itlb misses, it's also make possible aggregate other compilers e.g. v8 created same prefix sections. Furthermore, the recent feature Machine Function Splitter (basic block level text prefix section) is based on text section prefix.
Reviewed By: pengfei, rnk
Differential Revision: https://reviews.llvm.org/D92073
|
 | llvm/test/Transforms/CodeGenPrepare/X86/section.ll |
 | llvm/include/llvm/ProfileData/ProfileCommon.h |
 | llvm/test/CodeGen/X86/text-section-prefix.ll |
 | llvm/test/CodeGen/X86/mingw-comdats.ll |
 | llvm/test/Transforms/HotColdSplit/coldentrycount.ll |
 | llvm/lib/CodeGen/MachineFunctionSplitter.cpp |
 | llvm/lib/CodeGen/CodeGenPrepare.cpp |
 | llvm/test/CodeGen/X86/machine-function-splitter.ll |
 | llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp |
 | llvm/test/Transforms/SampleProfile/section-accurate-samplepgo.ll |
 | llvm/test/Transforms/CodeGenPrepare/X86/section-samplepgo.ll |
Commit
cda32aba4f46033eea4eea6eda703459dc3c7a1e
by jeremy.morse[DebugInfo][Docs] Document MIR language debug-info constructs
This patch documents the MIR syntax for a number of things relevant to debugging information: * Trailing 'debug-location' metadata that becomes a DebugLoc, * Variable location metadata for stack slots, * Syntax for DBG_VALUE metainstructions, * Syntax for DBG_INSTR_REF, including trailing instruction numbers attached to MIR instructions.
Differential Revision: https://reviews.llvm.org/D89337
|
 | llvm/docs/MIRLangRef.rst |
Commit
deec343bfd85d7c78fb0d8e251e63f372767297d
by abidh[compiler-rt] Allow appending to 'target_cflags' value from lit_config.
This patch is similar to D84708. When testing compiler-rt on different baremetal targets, it helps to have the ability to pass some more parameters at test time that allows you to build the test executable for a given target. For an example, you may need a different linker command file for different targets.
This patch will allows to do things like
$ llvm-lit --param=append_target_cflags="-T simulator.ld" or $ llvm-lit --param=append_target_cflags="-T hardware.ld"
In this way, you can run tests on different targets without having to run cmake again.
Reviewed By: delcypher
Differential Revision: https://reviews.llvm.org/D91783
|
 | compiler-rt/test/lit.common.cfg.py |
Commit
c100d7ba36a5501bba6f7107a531323a51498bf6
by david.green[NFC] Chec[^k] -> Check
Some test updates all appearing to use the wrong spelling of CHECK.
|
 | llvm/test/CodeGen/AArch64/arm64-fold-lsl.ll |
 | llvm/test/DebugInfo/COFF/retained-types.ll |
 | llvm/test/MC/Mips/macro-ddiv.s |
 | llvm/test/CodeGen/ARM/ParallelDSP/inner-full-unroll.ll |
 | llvm/test/CodeGen/ARM/vminmaxnm-safe.ll |
 | llvm/test/tools/llvm-readobj/ELF/groups.test |
 | llvm/test/CodeGen/ARM/v7k-abi-align.ll |
 | llvm/test/Transforms/IRCE/pre_post_loops.ll |
 | llvm/utils/llvm-compilers-check |
 | llvm/test/CodeGen/ARM/fold-stack-adjust.ll |
 | llvm/test/MC/ARM/thumb_set-diagnostics.s |
Commit
1e260f955d3123351fc68de8c2dde02b1be6d14f
by sjoerd.meijer[LICM][docs] Document that LICM is also a canonicalization transform. NFC.
This documents that LICM is a canonicalization transform, which we discussed recently in:
http://lists.llvm.org/pipermail/llvm-dev/2020-December/147184.html
but which was also discused earlier, e.g. in:
http://lists.llvm.org/pipermail/llvm-dev/2019-September/135058.html
|
 | llvm/docs/Passes.rst |
 | llvm/lib/Transforms/Scalar/LICM.cpp |