Displaying 20 results from an estimated 20 matches for "_s_construct".
2009 Dec 04
4
[LLVMdev] r72619
...is area.
Here's my guess: We're not properly suppressing the implicit
instantiation of non-inline member functions defined out-of-line.
Thus, we're instantiating that basic_string constructor when we
shouldn't be. That instantiation then forces the implicit
instantiation of _S_construct<const char*>. Since _S_construct is a
member template, it's instantiation is *not* suppressed (despite being
in basic_string<char>), so we emit it as a weak definition.
I don't have a debug llvm-gcc available to see why this might be
happening. The logic to suppress insta...
2009 Dec 04
0
[LLVMdev] r72619
...my guess: We're not properly suppressing the implicit
> instantiation of non-inline member functions defined out-of-line.
> Thus, we're instantiating that basic_string constructor when we
> shouldn't be. That instantiation then forces the implicit
> instantiation of _S_construct<const char*>. Since _S_construct is a
> member template, it's instantiation is *not* suppressed (despite being
> in basic_string<char>), so we emit it as a weak definition.
>
> I don't have a debug llvm-gcc available to see why this might be
> happening. Th...
2009 Dec 04
2
[LLVMdev] r72619
...ymbols to appear in C++ code when it shouldn't. Take this
code for example,
#include <stdexcept>
void dummysymbol() {
throw(std::runtime_error("string"));
}
The c'tor for std::string is emitted as code from llvm-gcc. It is then
inlined. And a weak external for the `_S_construct' variable is
created. However, C++ rules stipulate that it shouldn't be, because of
explicit & implicit template instantiation rules that Doug knows about
but which makes my head spin.
I'm going to need to revert at least some of these changes. Could you
take a look at this...
2008 Nov 18
2
anyone familiar with this error?
...ng *source* package 'portfolio.construction' ...
** R
** preparing package for lazy loading
Loading required package: fts
Loading required package: quadprog
Loading required package: Rexcelpoi
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
/usr/local/lib64/R/bin/INSTALL: line 455: 25001 Done
( echo "options(warn=1); invisible(.libPaths(c(\"${lib}\",
.libPaths()))); .getRequiredPackages();
tools:::makeLazyLoading(\"${R_PACKAGE_NAME}\", \"${lib}\")" )
25002 Aborted...
2009 Dec 04
2
[LLVMdev] r72619
...>> this code for example,
>> #include <stdexcept>
>> void dummysymbol() {
>> throw(std::runtime_error("string"));
>> }
>> The c'tor for std::string is emitted as code from llvm-gcc. It is
>> then inlined. And a weak external for the `_S_construct' variable
>> is created. However, C++ rules stipulate that it shouldn't be,
>> because of explicit & implicit template instantiation rules that
>> Doug knows about but which makes my head spin.
>
> I can't reproduce this on x86-64 linux (but maybe I mis...
2012 Sep 11
2
[LLVMdev] Build Error from Intrinsics.td
...dc++.so.6 0x00002b05a7f53a5e
9 libstdc++.so.6 0x00002b05a7f53e6d operator new(unsigned long) + 125
10 libstdc++.so.6 0x00002b05a7f36e6d std::string::_Rep::_S_create(unsigned
long, unsigned long, std::allocator<char> const&) + 93
11 libstdc++.so.6 0x00002b05a7f38905 char* std::string::_S_construct<char
const*>(char const*, char const*, std::allocator<char> const&,
std::forward_iterator_tag) + 53
12 libstdc++.so.6 0x00002b05a7f389ca std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::basic_string(char const*,
unsigned long, std::allocator...
2009 Dec 04
0
[LLVMdev] r72619
...9;t. Take this
> code for example,
>
> #include <stdexcept>
>
> void dummysymbol() {
> throw(std::runtime_error("string"));
> }
>
> The c'tor for std::string is emitted as code from llvm-gcc. It is then
> inlined. And a weak external for the `_S_construct' variable is created.
> However, C++ rules stipulate that it shouldn't be, because of explicit &
> implicit template instantiation rules that Doug knows about but which
> makes my head spin.
I can't reproduce this on x86-64 linux (but maybe I misunderstood what the
prob...
2011 Feb 24
2
[LLVMdev] Valgrind memcheck errors in llvm
I have ran under valgrind memcheck the process using libLLVM-2.9.so
(rev.126022) and got several errors:
==24227== Invalid read of size 1
==24227== at 0x40274C9: memcpy (mc_replace_strmem.c:497)
==24227== by 0x40D5B84: char* std::string::_S_construct<char
const*>(char const*, char const*, std::allocator<char> const&,
std::forward_iterator_tag) (in /usr/lib/libstdc++.so.6.0.14)
==24227== by 0x40D5C50: std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::basic_string(char
const*, uns...
2009 Dec 04
0
[LLVMdev] r72619
Hi Bill,
> Here's what I get with TOT compiling with -Os. The orig.ll is what I get
> before r72619. Notice that orig.ll has only one function in it. Both the
> one you sent and duncan.ll have more than one function. It's not the
> fact that more than one function is showing up, but these functions in
> particular shouldn't be there because of the implicit/explicit
2012 Sep 11
2
[LLVMdev] Fwd: Build Error from Intrinsics.td
...; 9 libstdc++.so.6 0x00002b05a7f53e6d operator new(unsigned long) + 125
> 10 libstdc++.so.6 0x00002b05a7f36e6d
> std::string::_Rep::_S_create(unsigned long, unsigned long,
> std::allocator<char> const&) + 93
> 11 libstdc++.so.6 0x00002b05a7f38905 char*
> std::string::_S_construct<char const*>(char const*, char const*,
> std::allocator<char> const&, std::forward_iterator_tag) + 53
> 12 libstdc++.so.6 0x00002b05a7f389ca std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >::basic_string(char
> const*, unsign...
2009 Dec 04
2
[LLVMdev] r72619
...s: We're not properly suppressing the implicit
>> instantiation of non-inline member functions defined out-of-line.
>> Thus, we're instantiating that basic_string constructor when we
>> shouldn't be. That instantiation then forces the implicit
>> instantiation of _S_construct<const char*>. Since _S_construct is a
>> member template, it's instantiation is *not* suppressed (despite
>> being
>> in basic_string<char>), so we emit it as a weak definition.
>>
>> I don't have a debug llvm-gcc available to see why this might b...
2012 Sep 11
3
[LLVMdev] Fwd: Build Error from Intrinsics.td
....6 0x00002b05a7f53e6d operator new(unsigned long) + 125
>> 10 libstdc++.so.6 0x00002b05a7f36e6d
>> std::string::_Rep::_S_create(unsigned long, unsigned long,
>> std::allocator<char> const&) + 93
>> 11 libstdc++.so.6 0x00002b05a7f38905 char*
>> std::string::_S_construct<char const*>(char const*, char const*,
>> std::allocator<char> const&, std::forward_iterator_tag) + 53
>> 12 libstdc++.so.6 0x00002b05a7f389ca std::basic_string<char,
>> std::char_traits<char>, std::allocator<char> >::basic_string(char const*,
&g...
2012 Sep 11
0
[LLVMdev] Fwd: Build Error from Intrinsics.td
...dc++.so.6 0x00002b05a7f53a5e
9 libstdc++.so.6 0x00002b05a7f53e6d operator new(unsigned long) + 125
10 libstdc++.so.6 0x00002b05a7f36e6d std::string::_Rep::_S_create(unsigned
long, unsigned long, std::allocator<char> const&) + 93
11 libstdc++.so.6 0x00002b05a7f38905 char* std::string::_S_construct<char
const*>(char const*, char const*, std::allocator<char> const&,
std::forward_iterator_tag) + 53
12 libstdc++.so.6 0x00002b05a7f389ca std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::basic_string(char const*,
unsigned long, std::allocator...
2012 Sep 11
0
[LLVMdev] Fwd: Build Error from Intrinsics.td
...3a5e
> 9 libstdc++.so.6 0x00002b05a7f53e6d operator new(unsigned long) + 125
> 10 libstdc++.so.6 0x00002b05a7f36e6d
> std::string::_Rep::_S_create(unsigned long, unsigned long,
> std::allocator<char> const&) + 93
> 11 libstdc++.so.6 0x00002b05a7f38905 char* std::string::_S_construct<char
> const*>(char const*, char const*, std::allocator<char> const&,
> std::forward_iterator_tag) + 53
> 12 libstdc++.so.6 0x00002b05a7f389ca std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >::basic_string(char const*,
> unsi...
2012 Sep 11
3
[LLVMdev] Fwd: Build Error from Intrinsics.td
...dc++.so.6 0x00002b05a7f53a5e
9 libstdc++.so.6 0x00002b05a7f53e6d operator new(unsigned long) + 125
10 libstdc++.so.6 0x00002b05a7f36e6d std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) + 93
11 libstdc++.so.6 0x00002b05a7f38905 char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) + 53
12 libstdc++.so.6 0x00002b05a7f389ca std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator...
2008 Aug 06
2
[LLVMdev] crash in JIT when running the inliner
...mentation fault.
[Switching to Thread 0xb7531910 (LWP 22213)]
0xb7798cec in memcpy () from /lib/libc.so.6
(gdb) bt
#0 0xb7798cec in memcpy () from /lib/libc.so.6
#1 0xb76d2942 in std::string::_S_copy_chars () from
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6
#2 0xb7302315 in std::string::_S_construct<char const*> (__beg=0x9fe020c
"!I4\thC6\tH#6\nçÃ6\npÆF·+", __end=0x13344334 <Address 0x13344334 out of
bounds>,
__a=@0xbf856e3f) at
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/basic_string.tcc:152
#3 0xb7302361 in std::string::_S_construct_aux<char cons...
2012 Sep 11
0
[LLVMdev] Fwd: Build Error from Intrinsics.td
...3a5e
> 9 libstdc++.so.6 0x00002b05a7f53e6d operator new(unsigned long) + 125
> 10 libstdc++.so.6 0x00002b05a7f36e6d
> std::string::_Rep::_S_create(unsigned long, unsigned long,
> std::allocator<char> const&) + 93
> 11 libstdc++.so.6 0x00002b05a7f38905 char* std::string::_S_construct<char
> const*>(char const*, char const*, std::allocator<char> const&,
> std::forward_iterator_tag) + 53
> 12 libstdc++.so.6 0x00002b05a7f389ca std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >::basic_string(char const*,
> unsi...
2012 Sep 11
0
[LLVMdev] Fwd: Build Error from Intrinsics.td
...6d operator new(unsigned long) + 125
>>> 10 libstdc++.so.6 0x00002b05a7f36e6d
>>> std::string::_Rep::_S_create(unsigned long, unsigned long,
>>> std::allocator<char> const&) + 93
>>> 11 libstdc++.so.6 0x00002b05a7f38905 char*
>>> std::string::_S_construct<char const*>(char const*, char const*,
>>> std::allocator<char> const&, std::forward_iterator_tag) + 53
>>> 12 libstdc++.so.6 0x00002b05a7f389ca std::basic_string<char,
>>> std::char_traits<char>, std::allocator<char> >::basic_string(cha...
2012 Sep 11
0
[LLVMdev] Fwd: Build Error from Intrinsics.td
...gned long) + 125
>>>> 10 libstdc++.so.6 0x00002b05a7f36e6d
>>>> std::string::_Rep::_S_create(unsigned long, unsigned long,
>>>> std::allocator<char> const&) + 93
>>>> 11 libstdc++.so.6 0x00002b05a7f38905 char*
>>>> std::string::_S_construct<char const*>(char const*, char const*,
>>>> std::allocator<char> const&, std::forward_iterator_tag) + 53
>>>> 12 libstdc++.so.6 0x00002b05a7f389ca std::basic_string<char,
>>>> std::char_traits<char>, std::allocator<char> >::basi...
2012 Aug 16
2
[LLVMdev] libclang parsing bug
...tor new(unsigned long)
(in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5926== by 0x5A71708: std::string::_Rep::_S_create(unsigned long,
unsigned long, std::allocator<char> const&)
(in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17)
==5926== by 0x5A730E4: char* std::string::_S_construct<char
const*>(char const*, char const*, std::allocator<char> const&,
std::forward_iterator_tag) (in
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17)
==5926== by 0x5A731FC: std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::basic_string(char con...