aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/struct-matching-constraint.c
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-07-28 02:33:52 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-07-28 02:33:52 +0000
commita8666a3cdbabf5dedc2ef5bc9f83272a2a7be7bf (patch)
tree27e394ebe0c563004f62bea51e6e3c79d498533a /clang/test/CodeGen/struct-matching-constraint.c
parent2d1e353966b429a07c0cfaca53778d140d1fe439 (diff)
downloadllvm-a8666a3cdbabf5dedc2ef5bc9f83272a2a7be7bf.zip
llvm-a8666a3cdbabf5dedc2ef5bc9f83272a2a7be7bf.tar.gz
llvm-a8666a3cdbabf5dedc2ef5bc9f83272a2a7be7bf.tar.bz2
Explicitly declare a library dependency of LLVM*Desc to
LLVM*AsmPrinter. GenLibDeps.pl fails to detect vtable references. As this is the only referenced symbol from LLVM*Desc to LLVM*AsmPrinter on optimized builds, the algorithm that creates the list of libraries to be linked into tools doesn't know about the dependency and sometimes places the libraries on the wrong order, yielding error messages like this: ../../lib/libLLVMARMDesc.a(ARMMCTargetDesc.cpp.o): In function `llvm::ARMInstPrinter::ARMInstPrinter(llvm::MCAsmInfo const&)': ARMMCTargetDesc.cpp:(.text._ZN4llvm14ARMInstPrinterC1ERKNS_9MCAsmInfoE [llvm::ARMInstPrinter::ARMInstPrinter(llvm::MCAsmInfo const&)]+0x2a): undefined reference to `vtable for llvm::ARMInstPrinter' llvm-svn: 136328
Diffstat (limited to 'clang/test/CodeGen/struct-matching-constraint.c')
0 files changed, 0 insertions, 0 deletions