Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
720 B

  1. @echo off
  2. rem This version instruments gdiplus.dll for memory profiling.
  3. rem Runs IcePick on gdiplus.dll. Saves the old gdiplus.dll
  4. rem as gdiplus.beforecap.dll.
  5. echo Running IcePick on gdiplus.dll
  6. pushd %~dp0..\Engine\Flat\dll\obj\i386
  7. if not exist gdiplus.dll echo gdiplus.dll not found & goto exit
  8. %ICECAP%\icepick -EXCLUDE:MC_LogAllocation -EXCLUDE:GpMalloc -EXCLUDE:EngAllocMem -EXCLUDE:DynArrayImpl::Grow -EXCLUDE:DynArrayImpl::AddMultiple gdiplus.dll
  9. if errorlevel 1 goto Error
  10. if exist gdiplus.beforecap.dll del gdiplus.beforecap.dll
  11. ren gdiplus.dll gdiplus.beforecap.dll
  12. ren gdiplus.cap.dll gdiplus.dll
  13. goto :exit
  14. :Error
  15. echo:
  16. echo Aborted - IcePick reported an error.
  17. :exit
  18. popd