Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Robinson <arobins@microsoft.com>2021-07-02 23:47:06 +0300
committerGitHub <noreply@github.com>2021-07-02 23:47:06 +0300
commitb862155e1bb5f0718410b0ccc1601cddffe9077a (patch)
treea9b74e6f8b64892c8a89a48cd2b9074f25469888 /src/coreclr/inc
parente8572d3e5d23e624dac4f3744c745885a6d3addb (diff)
Add support to DAC for reading tagged memory on tracked types (#54994)
* Add support to DAC for reading tagged memory on tracked types * Build error on macOS. * DACize the relevant SyncBlock APIs. Create helper function for tagged memory API querying.
Diffstat (limited to 'src/coreclr/inc')
-rw-r--r--src/coreclr/inc/sospriv.idl11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/coreclr/inc/sospriv.idl b/src/coreclr/inc/sospriv.idl
index 332ec79c50a..102801f7e5d 100644
--- a/src/coreclr/inc/sospriv.idl
+++ b/src/coreclr/inc/sospriv.idl
@@ -438,3 +438,14 @@ interface ISOSDacInterface10 : IUnknown
HRESULT IsComWrappersRCW(CLRDATA_ADDRESS rcw, BOOL *isComWrappersRCW);
HRESULT GetComWrappersRCWData(CLRDATA_ADDRESS rcw, CLRDATA_ADDRESS *identity);
}
+
+[
+ object,
+ local,
+ uuid(96BA1DB9-14CD-4492-8065-1CAAECF6E5CF)
+]
+interface ISOSDacInterface11 : IUnknown
+{
+ HRESULT IsTrackedType(CLRDATA_ADDRESS objAddr, BOOL* isTrackedType, BOOL* hasTaggedMemory);
+ HRESULT GetTaggedMemory(CLRDATA_ADDRESS objAddr, CLRDATA_ADDRESS* taggedMemory, size_t* taggedMemorySizeInBytes);
+}