mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Added JEMalloc/TCMalloc options
This commit is contained in:
parent
652142e189
commit
8c16454006
7 changed files with 89 additions and 28 deletions
|
@ -751,12 +751,12 @@ namespace IDE.Compiler
|
|||
case .CRT:
|
||||
mallocLinkName = "malloc";
|
||||
freeLinkName = "free";
|
||||
case .JEMalloc:
|
||||
case .JEMalloc, .JEMalloc_Debug:
|
||||
mallocLinkName = "je_malloc";
|
||||
freeLinkName = "je_free";
|
||||
case .TCMalloc:
|
||||
mallocLinkName = "tcmalloc";
|
||||
freeLinkName = "tcfree";
|
||||
case .TCMalloc, .TCMalloc_Debug:
|
||||
mallocLinkName = "tc_malloc";
|
||||
freeLinkName = "tc_free";
|
||||
case .Custom:
|
||||
mallocLinkName = options.mAllocMalloc;
|
||||
freeLinkName = options.mAllocFree;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue