summaryrefslogtreecommitdiff
path: root/src/debug/di
diff options
context:
space:
mode:
authorMike McLaughlin <mikem@microsoft.com>2015-06-04 12:00:51 -0700
committerMike McLaughlin <mikem@microsoft.com>2015-06-05 16:28:41 -0700
commit127ea3f987e2a2ba94e4421a7a11389857ef3387 (patch)
tree734ea8ddeb4eaca2bf3676082fec800ae03e5695 /src/debug/di
parent4b21be40517f1348d7f223726decb0f719d09a4b (diff)
downloadcoreclr-127ea3f987e2a2ba94e4421a7a11389857ef3387.tar.gz
coreclr-127ea3f987e2a2ba94e4421a7a11389857ef3387.tar.bz2
coreclr-127ea3f987e2a2ba94e4421a7a11389857ef3387.zip
Enable VerifyHeap and DumpHeap.
Fix error output. The lldb function cached all the error output separately from the normal output so the error/normal text are not properly intermixed. Fixed calculation in CardIsSet getting the lowest address from card table header. Use the ALIGN_DOWN macro to make it a little more clear what is going on in CardIsSet. Couldn't include stdmacros.h (containing this macro) in the sos context so the macro has been copied to the beginning of the file. Changed some "unsigned long" in sos to "ULONG" because it is different between Linux and Windows.
Diffstat (limited to 'src/debug/di')
-rw-r--r--src/debug/di/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/di/CMakeLists.txt b/src/debug/di/CMakeLists.txt
index 1e74e06cd3..cbf1065895 100644
--- a/src/debug/di/CMakeLists.txt
+++ b/src/debug/di/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_definitions(-DDBG_TARGET_AMD64=1 -DDBG_TARGET_WIN64=1 -DDBG_TARGET_64BIT=1)
+add_definitions(-DDBG_TARGET_AMD64=1 -DDBG_TARGET_WIN64=1 -DDBG_TARGET_64BIT=1 -D_TARGET_AMD64_=1)
add_definitions(-DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_NO_HOST -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES)
set(CORDBDI_SOURCES