head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.6 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.4 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.2 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.1.0.4 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.2 pkgsrc-2011Q2-base:1.1; locks; strict; comment @// @; 1.2 date 2011.12.02.14.42.12; author adam; state dead; branches; next 1.1; 1.1 date 2011.05.07.16.54.56; author adam; state Exp; branches; next ; desc @@ 1.2 log @LLVM 3.0 includes several major changes and big features: * llvm-gcc is no longer supported, and not included in the release. We recommend switching to Clang or DragonEgg. * The linear scan register allocator has been replaced with a new "greedy" register allocator, enabling live range splitting and many other optimizations that lead to better code quality. Please see its blog post or its talk at the Developer Meeting for more information. * LLVM IR now includes full support for atomics memory operations intended to support the C++'11 and C'1x memory models. This includes atomic load and store, compare and exchange, and read/modify/write instructions as well as a full set of memory ordering constraints. Please see the Atomics Guide for more information. * The LLVM IR exception handling representation has been redesigned and reimplemented, making it more elegant, fixing a huge number of bugs, and enabling inlining and other optimizations. Please see its blog post and the Exception Handling documentation for more information. * The LLVM IR Type system has been redesigned and reimplemented, making it faster and solving some long-standing problems. Please see its blog post for more information. * The MIPS backend has made major leaps in this release, going from an experimental target to being virtually production quality and supporting a wide variety of MIPS subtargets. See the MIPS section below for more information. * The optimizer and code generator now supports gprof and gcov-style coverage and profiling information, and includes a new llvm-cov tool (but also works with gcov). Clang exposes coverage and profiling through GCC-compatible command line options. @ text @$NetBSD: patch-tools_clang_lib_AST_DumpXML.cpp,v 1.1 2011/05/07 16:54:56 adam Exp $ Fix LLVM bug 8765: longjmp issue on NetBSD. --- tools/clang/lib/AST/DumpXML.cpp.orig 2011-04-22 06:32:06.000000000 +0000 +++ tools/clang/lib/AST/DumpXML.cpp @@@@ -487,6 +487,8 @@@@ struct XMLDumper : public XMLDeclVisitor set("storage", VarDecl::getStorageClassSpecifierString(D->getStorageClass())); setFlag("inline", D->isInlineSpecified()); + if (const AsmLabelAttr *ALA = D->getAttr()) + set("asmlabel", ALA->getLabel()); // TODO: instantiation, etc. } void visitFunctionDeclChildren(FunctionDecl *D) { @ 1.1 log @Fix LLVM bug 8765 (longjmp issue on NetBSD); patches courtesy of joerg. @ text @d1 1 a1 1 $NetBSD$ @