Displaying 4 results from an estimated 4 matches for "_m_default_append".
2019 Sep 13
2
Orc JIT vs. implicit template instanciation in LLVM 8
...gacy"
classes before attempting the move to Orc v2. But when I do that, some
code which compiles fine with LLVM 7 breaks. I might get an undefined
symbol like the following when I try to resolve a symbol defined by
the code, after running constructors (successfully):
_ZNSt6vectorIfSaIfEE17_M_default_appendEm
Unmangled, that's:
std::vector<float, std::allocator<float> >::_M_default_append(unsigned long)
which is a function template defined by the C++ vector header file. If
I add an explicit instanciation like so:
template class std::vector<float>;
the problem goes aw...
2019 Sep 15
2
Orc JIT vs. implicit template instanciation in LLVM 8
...Orc v2. But when I do that, some
> > code which compiles fine with LLVM 7 breaks. I might get an undefined
> > symbol like the following when I try to resolve a symbol defined by
> > the code, after running constructors (successfully):
> >
> > _ZNSt6vectorIfSaIfEE17_M_default_appendEm
> >
> > Unmangled, that's:
> >
> > std::vector<float, std::allocator<float> >::_M_default_append(unsigned long)
> >
> > which is a function template defined by the C++ vector header file. If
> > I add an explicit instanciation like so:...
2019 Sep 16
2
Orc JIT vs. implicit template instanciation in LLVM 8
...t; code which compiles fine with LLVM 7 breaks. I might get an undefined
> > > > symbol like the following when I try to resolve a symbol defined by
> > > > the code, after running constructors (successfully):
> > > >
> > > > _ZNSt6vectorIfSaIfEE17_M_default_appendEm
> > > >
> > > > Unmangled, that's:
> > > >
> > > > std::vector<float, std::allocator<float> >::_M_default_append(unsigned long)
> > > >
> > > > which is a function template defined by the C++ vector header...
2019 Sep 16
2
Orc JIT vs. implicit template instanciation in LLVM 8
...test
> in getResponsibilitySetWithLegacyFn, which in turn should cause it to be
> added to the responsibility set:
>
> if (JITSymbol Sym = FindSymbol(*S)) {
> if (!Sym.getFlags().isStrong())
> Result.insert(S); //
> <- _ZNSt6vectorIfSaIfEE17_M_default_appendEm should be added here.
> } else if (auto Err = Sym.takeError())
> return std::move(Err);
>
> Is that not happening?
>
> Cheers,
> Lang.
>
>
> On Mon, Sep 16, 2019 at 9:36 AM Geoff Levner <glevner at gmail.com> wrote:
>
>> I have found the caus...