Displaying 2 results from an estimated 2 matches for "valeriy".
Did you mean:
valeri
2015 Jul 29
1
[LLVMdev] Clang: strange malloc usage
...ion leads to segmentation fault.
The same case can be found in tools/libclang/CXString.cpp file in
function createDup:
char *Spelling = static_cast<char *>(malloc(String.size() + 1));
memmove(Spelling, String.data(), String.size());
Could somebody clarify me if I'm wrong?
Thanks,
Valeriy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150729/2277a450/attachment.html>
2015 Jul 11
2
[LLVMdev] StringMap question
...: TheTable(RHS.TheTable), NumBuckets(RHS.NumBuckets),*
* NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones),*
* ItemSize(RHS.ItemSize) {*
* RHS.TheTable = nullptr;*
* RHS.NumBuckets = 0;*
* RHS.NumItems = 0;*
* RHS.NumTombstones = 0;*
* }*
Thank you very much!
BR,
Valeriy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150711/a6ad0882/attachment.html>