1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/IR
Vedant Kumar efebba70ef [DebugInfo] Update loop metadata in stripNonLineTableDebugInfo
Summary:
Have stripNonLineTableDebugInfo() attach updated !llvm.loop metadata to
an instruction (instead of updating and then discarding the metadata).

This fixes "!dbg attachment points at wrong subprogram for function"
errors seen while archiving an iOS app.

It would be nice -- as a follow-up -- to catch this issue earlier,
perhaps by modifying the verifier to constrain where DILocations are
allowed. Any alternative suggestions appreciated.

rdar://61982466

Reviewers: aprantl, dsanders

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79200
2020-05-01 11:36:05 -07:00
..
AbstractCallSite.cpp [CallSite removal] Rename CallSite.h to AbstractCallSite.h. NFC 2020-04-24 22:12:25 -07:00
AsmWriter.cpp Fix Wparentheses gcc warning. NFC. 2020-04-28 13:59:14 +01:00
AttributeImpl.h [IR] AttributeList::getContext has a single user, remove it. 2020-05-01 14:18:29 +02:00
Attributes.cpp [IR] AttributeList::getContext has a single user, remove it. 2020-05-01 14:18:29 +02:00
AutoUpgrade.cpp Pass shufflevector indices as int instead of unsigned. 2020-04-15 15:52:49 +02:00
BasicBlock.cpp
CMakeLists.txt [NFC] Split Knowledge retention and place it more appropriatly 2020-04-02 15:01:41 +02:00
Comdat.cpp
ConstantFold.cpp [SVE] Remove calls to isScalable from IR 2020-04-23 11:51:22 -07:00
ConstantFold.h Remove "mask" operand from shufflevector. 2020-03-31 13:08:59 -07:00
ConstantRange.cpp [ConstantRange] Use APInt::or/APInt::and for single elements. 2020-04-01 09:50:24 +01:00
Constants.cpp [SVE] Remove calls to isScalable from IR 2020-04-23 11:51:22 -07:00
ConstantsContext.h [SVE] Remove calls to isScalable from IR 2020-04-23 11:51:22 -07:00
Core.cpp [IR] Replace all uses of CallBase::getCalledValue() with getCalledOperand(). 2020-04-27 22:17:03 -07:00
DataLayout.cpp [SVE] Add new VectorType subclasses 2020-04-22 08:59:01 -07:00
DebugInfo.cpp [DebugInfo] Update loop metadata in stripNonLineTableDebugInfo 2020-05-01 11:36:05 -07:00
DebugInfoMetadata.cpp [DebugInfo] Change DIEnumerator payload type from int64_t to APInt 2020-04-18 12:49:31 -07:00
DebugLoc.cpp
DiagnosticHandler.cpp
DiagnosticInfo.cpp
DiagnosticPrinter.cpp
DIBuilder.cpp [DebugInfo] Change DIEnumerator payload type from int64_t to APInt 2020-04-18 12:49:31 -07:00
Dominators.cpp Change callbr to only define its output SSA variable on the normal 2020-04-23 19:36:44 -04:00
FPEnv.cpp [FPEnv] Use single enum to represent rounding mode 2020-04-09 13:26:47 +07:00
Function.cpp [NFC] Rename *ByValOrInalloca* to *PassPointeeByValue* 2020-04-30 09:42:13 -07:00
Globals.cpp [Alignment][NFC] Remove deprecated functions introduced in 10.0.0 2020-04-06 12:07:18 +00:00
GVMaterializer.cpp
InlineAsm.cpp
Instruction.cpp Remove "mask" operand from shufflevector. 2020-03-31 13:08:59 -07:00
Instructions.cpp [IR] Replace all uses of CallBase::getCalledValue() with getCalledOperand(). 2020-04-27 22:17:03 -07:00
IntrinsicInst.cpp [NFC] clang-format IntrinsicInst.h|cpp 2020-04-15 12:05:23 +02:00
IRBuilder.cpp Clean up usages of asserting vector getters in Type 2020-04-10 14:18:47 -07:00
IRPrintingPasses.cpp
LegacyPassManager.cpp
LLVMBuild.txt
LLVMContext.cpp Add IR constructs for preallocated (inalloca replacement) 2020-04-27 16:15:50 -07:00
LLVMContextImpl.cpp [IR] Make Attributes and AttributeLists trivially destructible and BumpPtrAllocate them 2020-05-01 14:12:17 +02:00
LLVMContextImpl.h LLVMContextImpl.h - remove defunct getOrAddScope* helpers declarations. NFC. 2020-04-24 13:27:59 +01:00
LLVMRemarkStreamer.cpp
Mangler.cpp [NFC] Rename *ByValOrInalloca* to *PassPointeeByValue* 2020-04-30 09:42:13 -07:00
MDBuilder.cpp
Metadata.cpp
MetadataImpl.h
Module.cpp
ModuleSummaryIndex.cpp
Operator.cpp [SVE] Remove calls to isScalable from IR 2020-04-23 11:51:22 -07:00
OptBisect.cpp
Pass.cpp [Pass] Ensure we don't include PassSupport.h or PassAnalysisSupport.h directly 2020-04-26 12:58:20 +01:00
PassInstrumentation.cpp
PassManager.cpp
PassRegistry.cpp [Pass] Ensure we don't include PassSupport.h or PassAnalysisSupport.h directly 2020-04-26 12:58:20 +01:00
PassTimingInfo.cpp [TimePasses] Small fix in "-time-passes" flag that makes it more stable 2020-04-08 15:59:45 +00:00
ProfileSummary.cpp [ProfileSummary] Add partial profile annotation on IR. 2020-04-27 08:34:15 -07:00
SafepointIRVerifier.cpp
Statepoint.cpp
SymbolTableListTraitsImpl.h
Type.cpp [SVE] Do not store a bool for Scalable in VectorType 2020-04-24 10:36:26 -07:00
TypeFinder.cpp
Use.cpp [NFC] Remove waymarking because it improves performances 2020-04-17 11:27:10 +02:00
User.cpp [NFC] Remove waymarking because it improves performances 2020-04-17 11:27:10 +02:00
Value.cpp NFC: Clean up the implementation of StringPool a bit, and remove dependence on some "implicitly MallocAllocator" based methods on StringMapEntry. This allows reducing the #includes in StringMapEntry.h. 2020-04-12 16:37:17 -07:00
ValueSymbolTable.cpp NFC: Clean up the implementation of StringPool a bit, and remove dependence on some "implicitly MallocAllocator" based methods on StringMapEntry. This allows reducing the #includes in StringMapEntry.h. 2020-04-12 16:37:17 -07:00
Verifier.cpp Handle indirect calls in preallocated verification 2020-04-30 14:39:03 -07:00