1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/Assembler
Yuanfang Chen 725cd0da61 [Support] make report_fatal_error abort instead of exit
Summary:
This patch could be treated as a rebase of D33960. It also fixes PR35547.
A fix for `llvm/test/Other/close-stderr.ll` is proposed in D68164. Seems
the consensus is that the test is passing by chance and I'm not
sure how important it is for us. So it is removed like in D33960 for now.
The rest of the test fixes are just adding `--crash` flag to `not` tool.

** The reason it fixes PR35547 is

`exit` does cleanup including calling class destructor whereas `abort`
does not do any cleanup. In multithreading environment such as ThinLTO or JIT,
threads may share states which mostly are ManagedStatic<>. If faulting thread
tearing down a class when another thread is using it, there are chances of
memory corruption. This is bad 1. It will stop error reporting like pretty
stack printer; 2. The memory corruption is distracting and nondeterministic in
terms of error message, and corruption type (depending one the timing, it
could be double free, heap free after use, etc.).

Reviewers: rnk, chandlerc, zturner, sepavloff, MaskRay, espindola

Reviewed By: rnk, MaskRay

Subscribers: wuzish, jholewinski, qcolombet, dschuff, jyknight, emaste, sdardis, nemanjai, jvesely, nhaehnle, sbc100, arichardson, jgravelle-google, aheejin, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, lenary, s.egerton, pzheng, cfe-commits, MaskRay, filcab, davide, MatzeB, mehdi_amini, hiraditya, steven_wu, dexonsmith, rupprecht, seiya, llvm-commits

Tags: #llvm, #clang

Differential Revision: https://reviews.llvm.org/D67847
2020-01-15 17:05:13 -08:00
..
2002-03-08-NameCollision2.ll
2002-03-08-NameCollision.ll
2002-04-07-HexFloatConstants.ll
2002-04-07-InfConstant.ll
2002-04-29-NameBinding.ll
2002-05-02-InvalidForwardRef.ll
2002-07-14-OpaqueType.ll
2002-07-25-QuoteInString.ll
2002-07-25-ReturnPtrFunction.ll
2002-07-31-SlashInString.ll
2002-08-15-CastAmbiguity.ll
2002-08-15-ConstantExprProblem.ll
2002-08-15-UnresolvedGlobalReference.ll
2002-08-16-ConstExprInlined.ll
2002-08-19-BytecodeReader.ll
2002-08-22-DominanceProblem.ll
2002-10-08-LargeArrayPerformance.ll
2002-10-13-ConstantEncodingProblem.ll
2002-12-15-GlobalResolve.ll
2003-01-30-UnsignedString.ll
2003-04-15-ConstantInitAssertion.ll
2003-04-25-UnresolvedGlobalReference.ll
2003-05-03-BytecodeReaderProblem.ll
2003-05-12-MinIntProblem.ll
2003-05-15-AssemblerProblem.ll
2003-05-15-SwitchBug.ll
2003-05-21-ConstantShiftExpr.ll
2003-05-21-EmptyStructTest.ll
2003-05-21-MalformedShiftCrash.ll
2003-05-21-MalformedStructCrash.ll
2003-08-20-ConstantExprGEP-Fold.ll
2003-08-21-ConstantExprCast-Fold.ll
2003-11-05-ConstantExprShift.ll
2003-11-11-ImplicitRename.ll
2003-11-12-ConstantExprCast.ll
2003-11-24-SymbolTableCrash.ll
2004-01-11-getelementptrfolding.ll
2004-01-20-MaxLongLong.ll
2004-02-01-NegativeZero.ll
2004-02-27-SelfUseAssertError.ll
2004-03-07-FunctionAddressAlignment.ll Revert patches 348835 and 348571 because they're 2019-01-04 16:39:10 +00:00
2004-03-30-UnclosedFunctionCrash.ll
2004-04-04-GetElementPtrIndexTypes.ll
2004-06-07-VerifierBug.ll
2004-10-22-BCWriterUndefBug.ll
2004-11-28-InvalidTypeCrash.ll
2005-01-03-FPConstantDisassembly.ll
2005-01-31-CallingAggregateFunction.ll
2005-05-05-OpaqueUndefValues.ll
2005-12-21-ZeroInitVector.ll
2006-09-28-CrashOnInvalid.ll
2006-12-09-Cast-To-Bool.ll
2007-01-02-Undefined-Arg-Type.ll
2007-01-05-Cmp-ConstExpr.ll
2007-01-16-CrashOnBadCast2.ll
2007-01-16-CrashOnBadCast.ll
2007-03-18-InvalidNumberedVar.ll
2007-03-19-NegValue.ll
2007-04-20-AlignedLoad.ll
2007-04-20-AlignedStore.ll
2007-04-25-AssemblerFoldExternWeak.ll
2007-05-21-Escape.ll
2007-07-19-ParamAttrAmbiguity.ll
2007-08-06-AliasInvalid.ll
2007-09-10-AliasFwdRef.ll
2007-09-29-GC.ll
2007-11-26-AttributeOverload.ll
2007-12-11-AddressSpaces.ll
2008-01-11-VarargAttrs.ll
2008-02-18-IntPointerCrash.ll
2008-07-10-APInt.ll
2008-09-02-FunctionNotes2.ll
2008-09-02-FunctionNotes.ll
2008-09-29-RetAttr.ll
2008-10-14-QuoteInName.ll
2009-02-01-UnnamedForwardRef.ll
2009-02-28-CastOpc.ll
2009-02-28-StripOpaqueName.ll
2009-03-24-ZextConstantExpr.ll
2009-07-24-ZeroArgGEP.ll
2010-02-05-FunctionLocalMetadataBecomesNull.ll
addrspacecast-alias.ll
aggregate-constant-values.ll
aggregate-return-single-value.ll
alias-redefinition.ll
alias-use-list-order.ll
align-inst-alloca.ll
align-inst-load.ll
align-inst-store.ll
align-inst.ll
alignstack.ll
alloca-addrspace0.ll
alloca-addrspace-elems.ll
alloca-addrspace-parse-error-0.ll
alloca-addrspace-parse-error-1.ll
alloca-invalid-type-2.ll
alloca-invalid-type.ll
alloca-size-one.ll
anon-functions.ll
asm-path-writer.ll Print quoted backslashes in LLVM IR as \\ instead of \5C 2019-10-10 18:31:57 +00:00
atomic.ll Reapply "IR: Add fp operations to atomicrmw" 2019-01-22 18:18:02 +00:00
attribute-builtin.ll
auto_upgrade_intrinsics.ll Allow prefetching from non-zero address spaces 2019-07-25 16:11:57 +00:00
auto_upgrade_nvvm_intrinsics.ll
autoupgrade-invalid-mem-intrinsics.ll IR: Add immarg attribute 2019-03-12 21:02:54 +00:00
autoupgrade-thread-pointer.ll
bcwrap.ll
block-labels.ll IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
byval-type-attr.ll OpaquePtr: print byval types containing anonymous types correctly. 2020-01-07 15:11:43 +00:00
call-invalid-1.ll
call-nonzero-program-addrspace-2.ll IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
call-nonzero-program-addrspace.ll Allow creating llvm::Function in non-zero address spaces 2018-08-23 09:25:17 +00:00
comment.ll
ConstantExprFold.ll
ConstantExprFoldCast.ll
ConstantExprFoldSelect.ll
ConstantExprNoFold.ll ConstantFold: Don't fold global address vs. null for addrspace != 0 2018-06-26 18:55:43 +00:00
datalayout-alloca-addrspace-mismatch-0.ll
datalayout-alloca-addrspace-mismatch-1.ll
datalayout-alloca-addrspace-mismatch-2.ll
datalayout-alloca-addrspace.ll
datalayout-invalid-function-ptr-alignment.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
datalayout-invalid-stack-natural-alignment.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
datalayout-program-addrspace.ll
debug-info-source-invalid.ll [DWARFv5] Verify all-or-nothing constraint on DIFile source 2018-11-30 19:13:38 +00:00
debug-info-source.ll [DWARFv5] Verify all-or-nothing constraint on DIFile source 2018-11-30 19:13:38 +00:00
debug-info.ll [DebugInfo] Remove the DIFlagArgumentNotModified debug info flag 2019-11-20 13:18:40 +01:00
debug-label-bitcode.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
debug-variant-discriminator.ll Ensure that variant part discriminator is read by MetadataLoader 2018-09-21 12:03:14 +00:00
DICommonBlock.ll Add LLVM IR debug info support for Fortran COMMON blocks 2019-04-08 19:13:55 +00:00
dicompileunit.ll Revert "DebugInfo: Fix rangesBaseAddress DICompileUnit bitcode serialization/deserialization" 2019-12-30 22:33:35 -08:00
dicompositetype-members.ll
DIEnumerator.ll Rename DIFlagFixedEnum to DIFlagEnumClass. NFC 2019-01-08 17:52:29 +00:00
diexpression.ll hwasan: Add a tag_offset DWARF attribute to instrumented stack variables. 2019-06-17 23:39:41 +00:00
difile-escaped-chars.ll
diglobalvariable.ll Emit template type and value parameter DIEs for template variables. 2018-10-03 18:44:53 +00:00
DIGlobalVariableExpression.ll
diimportedentity.ll
dilexicalblock.ll
dilocalvariable-arg-large.ll
dilocalvariable.ll
dilocation.ll [IR] Add a boolean field in DILocation to know if a line must covered or not 2018-09-20 08:53:06 +00:00
DIMacroFile.ll
dimodule.ll Rename DW_AT_LLVM_isysroot to DW_AT_LLVM_sysroot 2019-12-20 13:11:17 -08:00
dinamespace.ll
diobjcproperty.ll
distinct-mdnode.ll
disubprogram.ll Add IR debug info support for Elemental, Pure, and Recursive Procedures. 2019-03-14 16:29:54 +00:00
disubrange-empty-array.ll
disubroutinetype.ll
ditemplateparameter.ll
ditype-large-values.ll
dllimport-dsolocal-diag.ll
drop-debug-info-nonzero-alloca.ll
drop-debug-info.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
export-symbol-anonymous-class.ll Debug Info: Support for DW_AT_export_symbols for anonymous structs 2019-08-23 17:19:21 +00:00
externally-initialized.ll
extractvalue-invalid-idx.ll
extractvalue-no-idx.ll
fast-math-flags.ll [IR] Add a dedicated FNeg IR Instruction 2018-11-13 18:15:47 +00:00
flags.ll
generic-debug-node.ll
getelementptr_invalid_ptr.ll
getelementptr_struct.ll
getelementptr_vec_ce2.ll
getelementptr_vec_ce.ll
getelementptr_vec_idx1.ll
getelementptr_vec_idx2.ll
getelementptr_vec_idx3.ll
getelementptr_vec_idx4.ll
getelementptr_vec_struct.ll
getelementptr.ll
getInt.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
global-addrspace-forwardref.ll
globalvariable-attributes.ll
gv-invalid-type.ll
half-constprop.ll
half-conv.ll
half.ll
huge-array.ll
ifunc-asm.ll
ifunc-dsolocal.ll
ifunc-use-list-order.ll
immarg-param-attribute.ll IR: Add immarg attribute 2019-03-12 21:02:54 +00:00
inalloca.ll
incorrect-tdep-attrs-parsing.ll IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
inline-asm-clobber.ll
insertextractvalue.ll
insertvalue-invalid-idx.ll
insertvalue-invalid-type-1.ll
insertvalue-invalid-type.ll
internal-hidden-alias.ll
internal-hidden-function.ll
internal-hidden-variable.ll
internal-protected-alias.ll
internal-protected-function.ll
internal-protected-variable.ll
invalid_cast2.ll
invalid_cast3.ll
invalid_cast4.ll
invalid_cast.ll
invalid-alias-mismatched-explicit-type.ll
invalid-arg-num-1.ll IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
invalid-arg-num-2.ll IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
invalid-arg-num-3.ll IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
invalid-atomicrmw-add-must-be-integer-type.ll Add atomicrmw operation to error messages 2018-10-03 02:37:15 +00:00
invalid-atomicrmw-fadd-must-be-fp-type.ll Reapply "IR: Add fp operations to atomicrmw" 2019-01-22 18:18:02 +00:00
invalid-atomicrmw-fsub-must-be-fp-type.ll Reapply "IR: Add fp operations to atomicrmw" 2019-01-22 18:18:02 +00:00
invalid-atomicrmw-xchg-must-be-integer-or-fp-type.ll Allow FP types for atomicrmw xchg 2019-01-17 10:49:01 +00:00
invalid-attrgrp.ll
invalid-block-label-num.ll IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
invalid-byval-type1.ll Reapply: IR: add optional type to 'byval' function parameters 2019-05-30 18:48:23 +00:00
invalid-byval-type2.ll Reapply: IR: add optional type to 'byval' function parameters 2019-05-30 18:48:23 +00:00
invalid-byval-type3.ll Reapply: IR: add optional type to 'byval' function parameters 2019-05-30 18:48:23 +00:00
invalid-comdat2.ll
invalid-comdat.ll
invalid-datalayout1.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout2.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout3.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout4.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout5.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout6.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout7.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout8.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout9.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout10.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout11.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout12.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout13.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout14.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout15.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout16.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout17.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout18.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout19.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout20.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout21.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout22.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout23.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout24.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout-alloca-addrspace.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-datalayout-program-addrspace.ll [Support] make report_fatal_error abort instead of exit 2020-01-15 17:05:13 -08:00
invalid-debug-info-version.ll
invalid-dicompileunit-emissionkind-bad.ll
invalid-dicompileunit-language-bad.ll
invalid-dicompileunit-language-overflow.ll
invalid-dicompileunit-missing-language.ll
invalid-dicompileunit-null-file.ll
invalid-dicompileunit-uniqued.ll
invalid-dicompositetype-missing-tag.ll
invalid-diderivedtype-missing-basetype.ll
invalid-diderivedtype-missing-tag.ll
invalid-dienumerator-missing-name.ll
invalid-dienumerator-missing-value.ll
invalid-diexpression-large.ll
invalid-diexpression-verify.ll
invalid-difile-missing-directory.ll
invalid-difile-missing-filename.ll
invalid-diglobalvariable-empty-name.ll
invalid-diglobalvariable-missing-name.ll
invalid-diimportedentity-missing-scope.ll
invalid-diimportedentity-missing-tag.ll
invalid-dilexicalblock-missing-scope.ll
invalid-dilexicalblock-null-scope.ll
invalid-dilexicalblockfile-missing-discriminator.ll
invalid-dilexicalblockfile-missing-scope.ll
invalid-dilexicalblockfile-null-scope.ll
invalid-dilocalvariable-arg-large.ll
invalid-dilocalvariable-arg-negative.ll
invalid-dilocalvariable-missing-scope.ll
invalid-dilocalvariable-null-scope.ll
invalid-dilocation-field-bad.ll
invalid-dilocation-field-twice.ll
invalid-dilocation-missing-scope-2.ll
invalid-dilocation-missing-scope.ll
invalid-dilocation-null-scope.ll
invalid-dilocation-overflow-column.ll
invalid-dilocation-overflow-line.ll
invalid-dinamespace-missing-namespace.ll
invalid-disubprogram-uniqued-definition.ll [DebugInfo] IR/Bitcode changes for DISubprogram flags. 2018-11-28 21:14:32 +00:00
invalid-disubrange-count-large.ll
invalid-disubrange-count-missing.ll
invalid-disubrange-count-negative.ll
invalid-disubrange-count-node.ll
invalid-disubrange-lowerBound-max.ll
invalid-disubrange-lowerBound-min.ll
invalid-disubroutinetype-missing-types.ll
invalid-ditemplatetypeparameter-missing-type.ll
invalid-ditemplatevalueparameter-missing-value.ll
invalid-fp80hex.ll
invalid-fwdref1.ll
invalid-fwdref2.ll
invalid-generic-debug-node-tag-bad.ll
invalid-generic-debug-node-tag-missing.ll
invalid-generic-debug-node-tag-overflow.ll
invalid-generic-debug-node-tag-wrong-type.ll
invalid-gep-mismatched-explicit-type.ll
invalid-gep-missing-explicit-type.ll
invalid-hexint.ll
invalid-immarg2.ll IR: Add immarg attribute 2019-03-12 21:02:54 +00:00
invalid-immarg3.ll IR: Add immarg attribute 2019-03-12 21:02:54 +00:00
invalid-immarg.ll IR: Add immarg attribute 2019-03-12 21:02:54 +00:00
invalid-inline-constraint.ll
invalid-inttype.ll
invalid-label.ll
invalid-landingpad.ll
invalid-load-mismatched-explicit-type.ll
invalid-load-missing-explicit-type.ll
invalid-mdnode-badref.ll
invalid-mdnode-vector2.ll
invalid-mdnode-vector.ll
invalid-metadata-attachment-has-type.ll
invalid-metadata-function-local-attachments.ll
invalid-metadata-function-local-complex-1.ll
invalid-metadata-function-local-complex-2.ll
invalid-metadata-function-local-complex-3.ll
invalid-metadata-has-type.ll
invalid-name2.ll
invalid-name.ll
invalid-safestack-param.ll
invalid-safestack-return.ll
invalid-specialized-mdnode.ll
invalid-untyped-metadata.ll
invalid-uselistorder_bb-missing-bb.ll
invalid-uselistorder_bb-missing-body.ll
invalid-uselistorder_bb-missing-func.ll
invalid-uselistorder_bb-not-bb.ll
invalid-uselistorder_bb-not-func.ll
invalid-uselistorder_bb-numbered.ll
invalid-uselistorder-function-between-blocks.ll
invalid-uselistorder-function-missing-named.ll
invalid-uselistorder-function-missing-numbered.ll
invalid-uselistorder-global-missing.ll
invalid-uselistorder-indexes-duplicated.ll
invalid-uselistorder-indexes-empty.ll
invalid-uselistorder-indexes-one.ll
invalid-uselistorder-indexes-ordered.ll
invalid-uselistorder-indexes-range.ll
invalid-uselistorder-indexes-toofew.ll
invalid-uselistorder-indexes-toomany.ll
invalid-uselistorder-type.ll
invalid-vecreduce.ll Change semantics of fadd/fmul vector reductions. 2019-06-11 08:22:10 +00:00
invoke-nonzero-program-addrspace.ll Allow creating llvm::Function in non-zero address spaces 2018-08-23 09:25:17 +00:00
large-comdat.ll
local-unnamed-addr.ll
max-inttype.ll
metadata-decl.ll
metadata-function-local.ll
metadata-null-operands.ll
metadata.ll
missing-tbaa.ll
multi-mod-disassemble.ll Add support for multi-module bitcode files to llvm-dis 2019-11-14 10:40:41 -08:00
multi-summary-disassemble.ll Add support for multi-module bitcode files to llvm-dis 2019-11-14 10:40:41 -08:00
MultipleReturnValueType.ll
musttail-invalid-1.ll
musttail-invalid-2.ll
musttail.ll
named-metadata.ll
no-mdstring-upgrades.ll
numbered-values.ll
private-hidden-alias.ll
private-hidden-function.ll
private-hidden-variable.ll
private-protected-alias.ll
private-protected-function.ll
private-protected-variable.ll
select.ll
short-hexpair.ll
source-filename-backslash.ll Print quoted backslashes in LLVM IR as \\ instead of \5C 2019-10-10 18:31:57 +00:00
source-filename.ll
thinlto-bad-summary1.ll [ThinLTO] Parse module summary index from assembly 2018-06-26 13:56:49 +00:00
thinlto-bad-summary2.ll [ThinLTO] Parse module summary index from assembly 2018-06-26 13:56:49 +00:00
thinlto-bad-summary3.ll [ThinLTO] Parse module summary index from assembly 2018-06-26 13:56:49 +00:00
thinlto-summary.ll [ThinLTO] Always import constants 2020-01-15 19:29:01 +03:00
thinlto-vtable-summary.ll [ThinLTO] Always import constants 2020-01-15 19:29:01 +03:00
tls-models.ll
token.ll
unnamed-addr.ll
unnamed-alias.ll
unnamed-comdat.ll
unnamed.ll
unsized-recursive-type.ll
uselistorder_bb.ll
uselistorder.ll
vbool-cmp.ll
vector-cmp.ll
vector-select.ll
vector-shift.ll
x86mmx.ll