[LLVMdev] LLVMC tests failing when building with clang
Mikhail Glushenkov
foldr at codedgers.com
Thu Aug 12 23:04:06 PDT 2010
Hi,
Argyrios Kyrtzidis <kyrtzidis <at> apple.com> writes:
>
> Hi,
>
> After building llvm with clang the llvmc tests are failing with:
>
> llvmc: Node llc is not in graph
>
> Anyone else see this ? (TOT llvm & clang)
It looks like this is due to a bug in clang:
// file1.cpp
namespace {
class Plugin {
};
}
// file2.cpp
namespace {
class Plugin {
};
}
Clang can't distinguish between file1::Plugin and
file2::Plugin. Is this a known issue? I've added a workaround for
now: change the names of file1::Plugin and file2::Plugin to
Pluginfile1 and Pluginfile2, respectively.
More information about the llvm-dev
mailing list