Displaying 20 results from an estimated 48 matches for "new_allocator".
Did you mean:
get_allocator
2012 May 04
2
[LLVMdev] StructTypes into one
Is it possible to merge StructTypes with different names like:
%"class.std::allocator.4" = type { i8 }
%"class.__gnu_cxx::new_allocator.5" = type { i8 }
%"class.std::allocator.0" = type { i8 }
%"class.__gnu_cxx::new_allocator.1" = type { i8 }
%"class.std::allocator.0.6" = type { i8 }
merge into
%"class.__gnu_cxx::new_allocator" = type { i8 }
%"class.std::allocator" = type {...
2020 Apr 15
0
[PATCH nbdkit 3/9] server: Use new vector library when building the list of extents.
---
server/extents.c | 49 ++++++++++++++++++------------------------------
1 file changed, 18 insertions(+), 31 deletions(-)
diff --git a/server/extents.c b/server/extents.c
index 2d609652..4ab5946c 100644
--- a/server/extents.c
+++ b/server/extents.c
@@ -42,6 +42,7 @@
#include <assert.h>
#include "minmax.h"
+#include "vector.h"
#include "internal.h"
2012 May 04
0
[LLVMdev] StructTypes into one
Hi Михаил,
> Is it possible to merge StructTypes with different names like:
>
> %"class.std::allocator.4" = type { i8 }
> %"class.__gnu_cxx::new_allocator.5" = type { i8 }
> %"class.std::allocator.0" = type { i8 }
> %"class.__gnu_cxx::new_allocator.1" = type { i8 }
> %"class.std::allocator.0.6" = type { i8 }
>
> merge into
>
> %"class.__gnu_cxx::new_allocator" = type { i8 }
> %"...
2005 Feb 13
1
[LLVMdev] Undefined references
Hi LLVMers,
I can't figure out why these errors exits:
-------------------------
llvm[2]: Linking Debug executable opt
c:/projects/build/MinGW/llvm-4-1/Debug/lib/LLVMProfilePaths.o(.text$_ZN4llvm10BranchInstC1EPNS_10BasicBlockES2_+0x52):
In function
`ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKPN4llvm8FunctionEPNS3_5GraphEEEE10deallocateEPSA_j':
c:/MinGW/bin/../lib/gcc/mingw32/3.4.1/../../../../include/c++/3.4.1/ext/new_allocator.h:
undefined reference to
`llvm::TerminatorInst::TerminatorInst(llvm::Instruction::TermOps,
llvm::BasicBlock*)'
c:/project...
2011 Jul 06
1
[LLVMdev] Error on using DataStructureAnalysis
...eMapping(const llvm::DSNodeHandle&, const llvm::DSNodeHandle&, llvm::DSGraph::NodeMapTy&, bool): Assertion `Entry.getNode() == N2 && "Inconsistent mapping detected!"' failed.
The definition of the corresponding function is:
define linkonce_odr void @_ZN9__gnu_cxx13new_allocatorIjE9constructEPjRKj(%"class.__gnu_cxx::new_allocator"* %this, i32* %__p, i32* %__val) align 2
The callsite is:
call void @_ZN9__gnu_cxx13new_allocatorIjE9constructEPjRKj(%"class.__gnu_cxx::new_allocator"* %3, i32* %tmp10, i32* %tmp11)
Does anybody have a clue what could be wron...
2011 Jul 07
1
[LLVMdev] Error on using DataStructureAnalysis
...apping(const llvm::DSNodeHandle&, const llvm::DSNodeHandle&, llvm::DSGraph::NodeMapTy&, bool): Assertion `Entry.getNode() == N2 && "Inconsistent mapping detected!"' failed.
The definition of the corresponding function is:
define linkonce_odr void @_ZN9__gnu_cxx13new_allocatorIjE9constructEPjRKj(%"class.__gnu_cxx::new_allocator"* %this, i32* %__p, i32* %__val) align 2
The callsite is:
call void @_ZN9__gnu_cxx13new_allocatorIjE9constructEPjRKj(%"class.__gnu_cxx::new_allocator"* %3, i32* %tmp10, i32* %tmp11)
Does anybody have a clue what could be w...
2019 Aug 12
0
[PATCH libnbd 1/7] api: Add semi-private function for freeing persistent data.
This adds a C-only semi-private function for freeing various types of
persistent data passed to libnbd.
There are some similarities with nbd_add_close_callback which we
removed in commit 7f191b150b52ed50098976309a6af883d245fc56.
---
generator/generator | 57 ++++++++++++++++++++
lib/Makefile.am | 1 +
lib/free.c | 129 ++++++++++++++++++++++++++++++++++++++++++++
lib/handle.c
2012 May 04
1
[LLVMdev] StructTypes into one
...epresented files.... llvm-link 1.bc 2.bc
-o 3.bc
2012/5/4 Duncan Sands <baldrick at free.fr>
> Hi Михаил,
>
> > Is it possible to merge StructTypes with different names like:
> >
> > %"class.std::allocator.4" = type { i8 }
> > %"class.__gnu_cxx::new_allocator.5" = type { i8 }
> > %"class.std::allocator.0" = type { i8 }
> > %"class.__gnu_cxx::new_allocator.1" = type { i8 }
> > %"class.std::allocator.0.6" = type { i8 }
> >
> > merge into
> >
> > %"class.__gnu_cxx::new_alloca...
2003 Sep 16
5
OpenSSH Security Advisory: buffer.adv
This is the 1st revision of the Advisory.
This document can be found at: http://www.openssh.com/txt/buffer.adv
1. Versions affected:
All versions of OpenSSH's sshd prior to 3.7 contain a buffer
management error. It is uncertain whether this error is
potentially exploitable, however, we prefer to see bugs
fixed proactively.
2. Solution:
Upgrade to OpenSSH
2019 Aug 12
2
Re: [PATCH libnbd 1/7] api: Add semi-private function for freeing persistent data.
On 8/12/19 11:08 AM, Richard W.M. Jones wrote:
> This adds a C-only semi-private function for freeing various types of
> persistent data passed to libnbd.
>
> There are some similarities with nbd_add_close_callback which we
> removed in commit 7f191b150b52ed50098976309a6af883d245fc56.
> ---
> +=head1 FREE CALLBACKS
> +
> +B<Note:> The API described in this
2019 Mar 26
0
[PATCH nbdkit v4 01/15] server: Implement extents/can_extents calls for plugins and filters.
This pair of calls allows plugins to describe which extents in the
virtual disk are allocated, holes or zeroes.
---
docs/nbdkit-filter.pod | 89 +++++++++++++++++++
docs/nbdkit-plugin.pod | 96 +++++++++++++++++++++
include/nbdkit-common.h | 10 ++-
include/nbdkit-filter.h | 22 ++++-
include/nbdkit-plugin.h | 6 +-
server/internal.h | 4 +
server/extents.c | 186
2019 Mar 20
0
[PATCH nbdkit 1/8] server: Implement extents/can_extents calls for plugins and filters.
This pair of calls allows plugins to describe which extents in the
virtual disk are allocated, holes or zeroes.
---
docs/nbdkit-filter.pod | 92 +++++++++++++++++++++
docs/nbdkit-plugin.pod | 99 +++++++++++++++++++++++
include/nbdkit-common.h | 10 ++-
include/nbdkit-filter.h | 22 +++++-
include/nbdkit-plugin.h | 6 +-
server/internal.h | 4 +
server/extents.c | 171
2019 Mar 28
0
[PATCH nbdkit v5 FINAL 01/19] server: Implement extents/can_extents calls for plugins and filters.
This new pair of callbacks allows plugins to describe which extents in
the virtual disk are allocated, holes or zeroes.
---
docs/nbdkit-filter.pod | 83 ++++++++++++++++
docs/nbdkit-plugin.pod | 97 +++++++++++++++++++
include/nbdkit-common.h | 10 +-
include/nbdkit-filter.h | 22 ++++-
include/nbdkit-plugin.h | 6 +-
server/internal.h | 4 +
server/extents.c | 210
2008 Aug 06
2
[LLVMdev] crash in JIT when running the inliner
...UseList = 0x9364128, Name = 0x9fe0204}, OperandList = 0xa36c3d9,
NumOperands = 167583628}, <No data fields>}, Parent = 0x0, Linkage = 27,
Visibility = 0,
Alignment = 64063, Section = {static npos = 4294967295,
_M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0xb746c670 "TÉ,·\"É,·\222''·\204ò'·Ìâ+·"}}},
<llvm::Annotable> = {AnnotationList = 0x2b},
<llvm::ilist_node<llvm::Function>> = {Prev = 0x930e810,
Next = 0x9fe0a80},...
2013 Oct 02
2
C++ debugging help needed
...ent than executable.
13 blended(in_material.isTransparent())
(gdb) p this
$9 = (Shape * const) 0x15f8760
(gdb) p *this
$10 = {_vptr.Shape = 0x7ffff2d8e290, mName = 6, mType = {
static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> =
{<No data fields>}, <No data fields>},
_M_p = 0x7f7fffff7f7fffff <Address 0x7f7fffff7f7fffff out of
bounds>}},
mShapeColor = {mRed = -1.4044474254567505e+306,
mGreen = -1.4044477603031902e+306, mBlue = 4.24399170841135e-314,
mTransparent = 0}...
2008 Aug 07
0
[LLVMdev] crash in JIT when running the inliner
Hi,
> Today I've been trying to debug a weird bug that makes JIT crash with
> certain code and when using the inliner. This may sound weird, but if I
> disable the inliner, it doesn't crash.
> I include an example gdb dump below. Does something looks wrong? Do you
> think it's a bug in JIT or it's just some other piece of code that is
> writing on the JIT
2008 Aug 09
1
[LLVMdev] crash in JIT when running the inliner
...by 0x544D9B6: phpllvm::execute(_zend_op_array*)
(phpllvm_execute.cpp:200)
==11384== Address 0x5ec7778 is 0 bytes inside a block of size 32 free'd
==11384== at 0x402266C: operator delete(void*) (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==11384== by 0x54C5034:
__gnu_cxx::new_allocator<llvm::SDValue>::deallocate(llvm::SDValue*,
unsigned) (new_allocator.h:96)
==11384== by 0x54C505E: std::_Vector_base<llvm::SDValue,
std::allocator<llvm::SDValue> >::_M_deallocate(llvm::SDValue*, unsigned)
(stl_vector.h:133)
==11384== by 0x54C5097: std::_Vector_base<llvm...
2019 Jan 06
2
LLVM IR linking separate function definitions in header files in single IR
...>
> This is confusing, you first wrote that you are "observing malloc
> instructions in LLVM IR" but then you wrote "when I see IR there is no
> malloc".
>
>
>
>> By observing in detail i came to know following line which exist in
>> header file new_allocator.h is taking memory;
>> *return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));*
>>
>
> Your original question was "I want to have a single IR with all the
> definitions of the called functions that are implemented in header files".
>
> The IR you'...
2019 Mar 19
0
[PATCH nbdkit 1/9] server: Implement extents/can_extents calls for plugins and filters.
This pair of calls allows plugins to describe which extents in the
virtual disk are allocated, holes or zeroes.
---
docs/nbdkit-filter.pod | 107 ++++++++
docs/nbdkit-plugin.pod | 103 +++++++
include/nbdkit-common.h | 10 +-
include/nbdkit-filter.h | 25 +-
include/nbdkit-plugin.h | 6 +-
server/internal.h | 5 +
server/extents.c | 574
2019 Aug 12
0
Re: [PATCH libnbd 1/7] api: Add semi-private function for freeing persistent data.
On Mon, Aug 12, 2019 at 11:29:10AM -0500, Eric Blake wrote:
> On 8/12/19 11:08 AM, Richard W.M. Jones wrote:
> > + typedef void (*nbd_free_callback) (void *ptr, void *user_data);
> > + int nbd_add_free_callback (struct nbd_handle *h,
> > + void *ptr,
> > + nbd_free_callback cb,
> > +