Skip to content

Commit

Permalink
Fix the build for FEATURE_GDBJIT (#104380)
Browse files Browse the repository at this point in the history
  • Loading branch information
cshung committed Jul 3, 2024
1 parent a91700f commit 8432f0d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/vm/callconvbuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ HRESULT CallConv::TryGetCallingConventionFromUnmanagedCallConv(

InlineFactory<SArray<CaValue>, 4> caValueArrayFactory;
DomainAssembly* domainAssembly = pMD->GetLoaderModule()->GetDomainAssembly();
IfFailThrow(Attribute::ParseArgumentValues(
IfFailThrow(CustomAttribute::ParseArgumentValues(
pData,
cData,
&caValueArrayFactory,
Expand Down Expand Up @@ -528,7 +528,7 @@ bool CallConv::TryGetCallingConventionFromUnmanagedCallersOnly(_In_ MethodDesc*

InlineFactory<SArray<CaValue>, 4> caValueArrayFactory;
DomainAssembly* domainAssembly = pMD->GetLoaderModule()->GetDomainAssembly();
IfFailThrow(Attribute::ParseArgumentValues(
IfFailThrow(CustomAttribute::ParseArgumentValues(
pData,
cData,
&caValueArrayFactory,
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/vm/customattribute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ static HRESULT ParseCaNamedArgs(
return hr;
}

HRESULT Attribute::ParseArgumentValues(
HRESULT CustomAttribute::ParseArgumentValues(
void* pCa,
INT32 cCa,
CaValueArrayFactory* pCaValueArrayFactory,
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/vm/customattribute.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

using CaValueArrayFactory = Factory<SArray<CaValue>>;

namespace Attribute
namespace CustomAttribute
{
HRESULT ParseArgumentValues(
void* pCa,
Expand Down
4 changes: 2 additions & 2 deletions src/coreclr/vm/gdbjit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ GetDebugInfoFromPDB(MethodDesc* methodDescPtr,
return E_FAIL;

const Module* mod = methodDescPtr->GetMethodTable()->GetModule();
SString modName = mod->GetPEAssembly()->GetPath();
SString modName { mod->GetPEAssembly()->GetPath() };
if (modName.IsEmpty())
return E_FAIL;

Expand Down Expand Up @@ -2534,7 +2534,7 @@ void NotifyGdb::OnMethodPrepared(MethodDesc* methodDescPtr)

/* Get module name */
const Module* mod = methodDescPtr->GetMethodTable()->GetModule();
SString modName = mod->GetPEAssembly()->GetPath();
SString modName { mod->GetPEAssembly()->GetPath() };
const char* szModName = modName.GetUTF8();
const char* szModuleFile = SplitFilename(szModName);

Expand Down

0 comments on commit 8432f0d

Please sign in to comment.