1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Bug fixes, installer, [Export]

Fixed a bunch of bugs in aggregate const initializers
Fixed ZIP bugs
Fixed a compilation case where we change protection while reifying a type
Added another project kind - Dynamic Library
Added [Export] for DLL method exporting
Fixed some issues of things being  generated as __NOINLINE incorrectly
Fixed an issue with module extensions with not-yet-demanded on-demand methods
Started adding Installer
This commit is contained in:
Brian Fiete 2019-08-27 08:04:41 -07:00
parent efa22e51fb
commit 09016c8dc0
135 changed files with 3615 additions and 2337 deletions

View file

@ -1,4 +1,3 @@
#define _WIN32_WINNT _WIN32_WINNT_WIN8
// This spits out interesting stats periodically to the console
@ -74,7 +73,7 @@ void BFGC::RawInit()
void BFGC::RawMarkSpan(tcmalloc_raw::Span* span, int expectedStartPage)
{
if ((gBfRtFlags & BfRtFlags_ObjectHasDebugFlags) == 0)
if ((gBfRtDbgFlags & BfRtFlags_ObjectHasDebugFlags) == 0)
return;
if (span->location != tcmalloc_raw::Span::IN_USE)
@ -278,7 +277,7 @@ void BFGC::RawReportHandleSpan(tcmalloc_raw::Span* span, int expectedStartPage,
if (rawAllocData->mType != NULL)
{
int typeSize;
if ((gBfRtFlags & BfRtFlags_ObjectHasDebugFlags) != 0)
if ((gBfRtDbgFlags & BfRtFlags_ObjectHasDebugFlags) != 0)
typeSize = rawAllocData->mType->mSize;
else
typeSize = ((bf::System::Type_NOFLAGS*)rawAllocData->mType)->mSize;
@ -449,8 +448,8 @@ void BFGC::RawShutdown()
BF_ASSERT(mSweepInfo.mLeakCount > 0);
gBfRtCallbacks.SetErrorString(gDbgErrorString.c_str());
gBfRtCallbacks.DebugMessageData_SetupError(errorStr.c_str(), 0);
gBfRtDbgCallbacks.SetErrorString(gDbgErrorString.c_str());
gBfRtDbgCallbacks.DebugMessageData_SetupError(errorStr.c_str(), 0);
BF_DEBUG_BREAK();
}
else