mzhaom / gperftools

Fast, multi-threaded malloc() and nifty performance analysis tools
https://code.google.com/p/gperftools/
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Use windows methods which take single byte strings so that tcmalloc can compile inside UNICODE projects #123

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Our projects define UNICODE globally.  tcmalloc still works, it just needs to 
be specific that it wants to use CreateFileA and GetModuleHandleA.

Original issue reported on code.google.com by mbel...@chromium.org on 14 Apr 2009 at 7:56

GoogleCodeExporter commented 9 years ago

Original comment by mbel...@chromium.org on 14 Apr 2009 at 8:01

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks -- I thought I was careful about all the "A" places I needed to go, but
clearly not!  I'll look if there are others too, and fix this for the next 
release.

Original comment by csilv...@gmail.com on 14 Apr 2009 at 8:22

GoogleCodeExporter commented 9 years ago
This is fixed in perftools 1.2, just released.

Original comment by csilv...@gmail.com on 18 Apr 2009 at 12:14

GoogleCodeExporter commented 9 years ago
I have linked tcmalloc_minimal in my code. It compiles just perfectly while 
compiling but when I run the program it throws "Segmentation fault (core 
dumped)" help appreciated. Thank you.

Original comment by Monali.K...@synerzip.com on 17 Jun 2013 at 7:37