Displaying 4 results from an estimated 4 matches for "daysthatwere".
2011 Sep 30
0
[LLVMdev] RTTI handling
...ables which will point out a lot of these cases. I have to warn you that in previous releases, it's still pretty experimental; Doug Gregor has done a lot of work on it on ToT.
Another option is to run 'nm' on the objects/executables you're interested in. For example, this file:
daysthatwere clang$ cat red.cpp
#include <typeinfo>
struct A {};
struct B { virtual ~B(); };
struct C { virtual ~C(); };
C::~C() {}
const std::type_info &test0() { return typeid(const char*); }
const std::type_info &test1() { return typeid(const char**); }
const std::type_info &a...
2011 Sep 30
2
[LLVMdev] RTTI handling
Thanks! Yes, we are trying to avoid that situation as much as possible.
Is there any compiler/linker/static analyzer option that would point out those problems (in 13 million lines, large part of that being legacy code)? Currently I don't know any better way than runtime logging and asserting.
Also, what shall we do we external source libraries (like Teigha from Open Design Alliance), where
2011 Sep 30
2
[LLVMdev] RTTI handling
...ables which will point out a lot of these cases. I have to warn you that in previous releases, it's still pretty experimental; Doug Gregor has done a lot of work on it on ToT.
Another option is to run 'nm' on the objects/executables you're interested in. For example, this file:
daysthatwere clang$ cat red.cpp
#include <typeinfo>
struct A {};
struct B { virtual ~B(); };
struct C { virtual ~C(); };
C::~C() {}
const std::type_info &test0() { return typeid(const char*); }
const std::type_info &test1() { return typeid(const char**); }
const std::type_info &a...
2011 Oct 03
0
[LLVMdev] RTTI handling
...ables which will point out a lot of these cases. I have to warn you that in previous releases, it's still pretty experimental; Doug Gregor has done a lot of work on it on ToT.
Another option is to run 'nm' on the objects/executables you're interested in. For example, this file:
daysthatwere clang$ cat red.cpp
#include <typeinfo>
struct A {};
struct B { virtual ~B(); };
struct C { virtual ~C(); };
C::~C() {}
const std::type_info &test0() { return typeid(const char*); }
const std::type_info &test1() { return typeid(const char**); }
const std::type_info &a...