https://github.com/felipepiovezan updated
https://github.com/llvm/llvm-project/pull/136163
>From 0a2dc4a280d83ca35bc4458ecb939f96e4dee8af Mon Sep 17 00:00:00 2001
From: Felipe de Azevedo Piovezan
Date: Thu, 17 Apr 2025 11:34:39 -0700
Subject: [PATCH 1/3] fixup! Run clang-format
---
lldb/sourc
https://github.com/felipepiovezan created
https://github.com/llvm/llvm-project/pull/136163
The function QueueThreadPlanForStepOutNoShouldStop has the semantics of "go
this parent frame"; ThreadPlanStepOut needs to respect that, not skipping over
any frames it finds uninteresting. This commit c
@@ -17,12 +17,21 @@ namespace lldb_private {
class ThreadPlanStepOut : public ThreadPlan, public ThreadPlanShouldStopHere {
public:
+ /// Creates a thread plan to step out from frame_idx, skipping parent frames
+ /// that artificial and hidden frames. Also skips frames witho
https://github.com/felipepiovezan created
https://github.com/llvm/llvm-project/pull/136161
These have been unused for at least a decade.
>From e668877c091baf943e5030e2f49f4e68015fc477 Mon Sep 17 00:00:00 2001
From: Felipe de Azevedo Piovezan
Date: Thu, 17 Apr 2025 08:18:13 -0700
Subject: [PATC
https://github.com/felipepiovezan created
https://github.com/llvm/llvm-project/pull/136160
A subsequent commit will create a new constructor for ThreadPlanStepOut, which
needs to reuse much of the same logic of the existing constructor. This commit
places all of that reusable logic into a sepa
https://github.com/felipepiovezan approved this pull request.
https://github.com/llvm/llvm-project/pull/118625
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/felipepiovezan approved this pull request.
https://github.com/llvm/llvm-project/pull/118624
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -361,32 +370,31 @@ void updateProfileCallee(
/// Find the 'llvm.experimental.noalias.scope.decl' intrinsics in the specified
/// basic blocks and extract their scope. These are candidates for duplication
/// when cloning.
-void identifyNoAliasScopesToClone(
-ArrayRef BBs
@@ -194,6 +194,15 @@ void CloneFunctionMetadataInto(Function *NewFunc, const
Function *OldFunc,
ValueMapTypeRemapper *TypeMapper = nullptr,
ValueMaterializer *Materializer = nullptr);
+/// Clone OldFunc's body into
@@ -200,6 +200,22 @@ bool llvm::BuildDebugInfoMDMap(DenseMap &MD,
return ModuleLevelChanges;
}
+void llvm::CloneFunctionMetadataInto(Function *NewFunc, const Function
*OldFunc,
+ ValueToValueMapTy &VMap,
+
@@ -182,6 +182,18 @@ void CloneFunctionAttributesInto(Function *NewFunc, const
Function *OldFunc,
ValueMapTypeRemapper *TypeMapper = nullptr,
ValueMaterializer *Materializer = nullptr);
+/// Clone OldFunc's met
@@ -79,14 +79,16 @@ struct ValueMapConfig {
static mutex_type *getMutex(const ExtraDataT &/*Data*/) { return nullptr; }
};
+/// This type stores Metadata. Used in ValueMap.
+using MDMapT = DenseMap;
felipepiovezan wrote:
I don't think we should have a type
https://github.com/felipepiovezan edited
https://github.com/llvm/llvm-project/pull/118622
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/felipepiovezan approved this pull request.
This LGTM!
https://github.com/llvm/llvm-project/pull/107938
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branc
14 matches
Mail list logo