From owner-svn-src-projects@FreeBSD.ORG Sun Jun 14 15:57:20 2009 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B5CE1065670; Sun, 14 Jun 2009 15:57:20 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 13AE98FC08; Sun, 14 Jun 2009 15:57:20 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n5EFvJQs053496; Sun, 14 Jun 2009 15:57:19 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5EFvIfo053470; Sun, 14 Jun 2009 15:57:18 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <200906141557.n5EFvIfo053470@svn.freebsd.org> From: Ed Schouten Date: Sun, 14 Jun 2009 15:57:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r194195 - in projects/clangbsd: . bin/sh contrib/csup contrib/gdb/gdb contrib/llvm contrib/llvm/cmake/modules contrib/llvm/docs contrib/llvm/include/llvm contrib/llvm/include/llvm/Analy... X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2009 15:57:20 -0000 Author: ed Date: Sun Jun 14 15:57:17 2009 New Revision: 194195 URL: http://svn.freebsd.org/changeset/base/194195 Log: Integrate latest FreeBSD, LLVM and Clang sources. Added: projects/clangbsd/contrib/llvm/include/llvm/CodeGen/BinaryObject.h - copied unchanged from r194181, vendor/llvm/dist/include/llvm/CodeGen/BinaryObject.h projects/clangbsd/contrib/llvm/include/llvm/CodeGen/LazyLiveness.h - copied unchanged from r194181, vendor/llvm/dist/include/llvm/CodeGen/LazyLiveness.h projects/clangbsd/contrib/llvm/lib/CodeGen/LazyLiveness.cpp - copied unchanged from r194181, vendor/llvm/dist/lib/CodeGen/LazyLiveness.cpp projects/clangbsd/contrib/llvm/lib/Target/TargetELFWriterInfo.cpp - copied unchanged from r194181, vendor/llvm/dist/lib/Target/TargetELFWriterInfo.cpp projects/clangbsd/contrib/llvm/lib/Transforms/IPO/PartialInlining.cpp - copied unchanged from r194181, vendor/llvm/dist/lib/Transforms/IPO/PartialInlining.cpp projects/clangbsd/contrib/llvm/test/Bitcode/2009-06-11-FirstClassAggregateConstant.ll - copied unchanged from r194181, vendor/llvm/dist/test/Bitcode/2009-06-11-FirstClassAggregateConstant.ll projects/clangbsd/contrib/llvm/test/CodeGen/ARM/2009-06-12-RegScavengerAssert.ll - copied unchanged from r194181, vendor/llvm/dist/test/CodeGen/ARM/2009-06-12-RegScavengerAssert.ll projects/clangbsd/contrib/llvm/test/CodeGen/ARM/arguments_f64_backfill.ll - copied unchanged from r194181, vendor/llvm/dist/test/CodeGen/ARM/arguments_f64_backfill.ll projects/clangbsd/contrib/llvm/test/CodeGen/ARM/stm.ll - copied unchanged from r194181, vendor/llvm/dist/test/CodeGen/ARM/stm.ll projects/clangbsd/contrib/llvm/test/CodeGen/X86/2009-06-12-x86_64-tail-call-conv-out-of-sync-bug.ll - copied unchanged from r194181, vendor/llvm/dist/test/CodeGen/X86/2009-06-12-x86_64-tail-call-conv-out-of-sync-bug.ll projects/clangbsd/contrib/llvm/test/DebugInfo/2009-06-12-Inline.ll - copied unchanged from r194181, vendor/llvm/dist/test/DebugInfo/2009-06-12-Inline.ll projects/clangbsd/contrib/llvm/test/DebugInfo/2009-06-12-InlineFuncStart.ll - copied unchanged from r194181, vendor/llvm/dist/test/DebugInfo/2009-06-12-InlineFuncStart.ll projects/clangbsd/contrib/llvm/test/FrontendC/pr3518.c - copied unchanged from r194181, vendor/llvm/dist/test/FrontendC/pr3518.c projects/clangbsd/contrib/llvm/test/FrontendC/pr4349.c - copied unchanged from r194181, vendor/llvm/dist/test/FrontendC/pr4349.c projects/clangbsd/contrib/llvm/test/TableGen/Slice.td - copied unchanged from r194181, vendor/llvm/dist/test/TableGen/Slice.td projects/clangbsd/contrib/llvm/test/Transforms/IndVarSimplify/masked-iv.ll - copied unchanged from r194181, vendor/llvm/dist/test/Transforms/IndVarSimplify/masked-iv.ll projects/clangbsd/contrib/llvm/test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll - copied unchanged from r194181, vendor/llvm/dist/test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll projects/clangbsd/contrib/llvm/test/Transforms/InstCombine/fsub-fsub.ll - copied unchanged from r194181, vendor/llvm/dist/test/Transforms/InstCombine/fsub-fsub.ll projects/clangbsd/contrib/llvm/tools/clang/include/clang/Basic/Builtins.def - copied unchanged from r194181, vendor/clang/dist/include/clang/Basic/Builtins.def projects/clangbsd/contrib/llvm/tools/clang/include/clang/Basic/Builtins.h - copied unchanged from r194181, vendor/clang/dist/include/clang/Basic/Builtins.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/Basic/BuiltinsPPC.def - copied unchanged from r194181, vendor/clang/dist/include/clang/Basic/BuiltinsPPC.def projects/clangbsd/contrib/llvm/tools/clang/include/clang/Basic/BuiltinsX86.def - copied unchanged from r194181, vendor/clang/dist/include/clang/Basic/BuiltinsX86.def projects/clangbsd/contrib/llvm/tools/clang/include/clang/Basic/TargetBuiltins.h - copied unchanged from r194181, vendor/clang/dist/include/clang/Basic/TargetBuiltins.h projects/clangbsd/contrib/llvm/tools/clang/lib/Basic/Builtins.cpp - copied unchanged from r194181, vendor/clang/dist/lib/Basic/Builtins.cpp projects/clangbsd/contrib/llvm/tools/clang/test/CXX/ - copied from r194181, vendor/clang/dist/test/CXX/ projects/clangbsd/contrib/llvm/tools/clang/test/CodeGen/target-data.c - copied unchanged from r194181, vendor/clang/dist/test/CodeGen/target-data.c projects/clangbsd/contrib/llvm/tools/clang/test/CodeGenCXX/static-assert.cpp - copied unchanged from r194181, vendor/clang/dist/test/CodeGenCXX/static-assert.cpp projects/clangbsd/contrib/llvm/tools/clang/test/CodeGenObjC/property-complex.m - copied unchanged from r194181, vendor/clang/dist/test/CodeGenObjC/property-complex.m projects/clangbsd/contrib/llvm/tools/clang/test/Frontend/cpp-output.c - copied unchanged from r194181, vendor/clang/dist/test/Frontend/cpp-output.c projects/clangbsd/contrib/llvm/tools/clang/test/Lexer/char-escapes.c - copied unchanged from r194181, vendor/clang/dist/test/Lexer/char-escapes.c projects/clangbsd/contrib/llvm/tools/clang/test/Preprocessor/feature_tests.c - copied unchanged from r194181, vendor/clang/dist/test/Preprocessor/feature_tests.c projects/clangbsd/contrib/llvm/tools/clang/test/Sema/init-vector.c - copied unchanged from r194181, vendor/clang/dist/test/Sema/init-vector.c projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/dependent-names.cpp - copied unchanged from r194181, vendor/clang/dist/test/SemaTemplate/dependent-names.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/example-typelist.cpp - copied unchanged from r194181, vendor/clang/dist/test/SemaTemplate/example-typelist.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/instantiate-declref-ice.cpp - copied unchanged from r194181, vendor/clang/dist/test/SemaTemplate/instantiate-declref-ice.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/instantiate-dependent-nested-name.cpp - copied unchanged from r194181, vendor/clang/dist/test/SemaTemplate/instantiate-dependent-nested-name.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/instantiate-member-pointers.cpp - copied unchanged from r194181, vendor/clang/dist/test/SemaTemplate/instantiate-member-pointers.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/temp_class_spec_blocks.cpp - copied unchanged from r194181, vendor/clang/dist/test/SemaTemplate/temp_class_spec_blocks.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/temp_class_spec_neg.cpp - copied unchanged from r194181, vendor/clang/dist/test/SemaTemplate/temp_class_spec_neg.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/typename-specifier-3.cpp - copied unchanged from r194181, vendor/clang/dist/test/SemaTemplate/typename-specifier-3.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/variadic-class-template-1.cpp - copied unchanged from r194181, vendor/clang/dist/test/SemaTemplate/variadic-class-template-1.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/variadic-class-template-2.cpp - copied unchanged from r194181, vendor/clang/dist/test/SemaTemplate/variadic-class-template-2.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/variadic-parse.cpp - copied unchanged from r194181, vendor/clang/dist/test/SemaTemplate/variadic-parse.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/variadic-unsupported.cpp - copied unchanged from r194181, vendor/clang/dist/test/SemaTemplate/variadic-unsupported.cpp projects/clangbsd/contrib/llvm/tools/clang/test/cxx-sections.data - copied unchanged from r194181, vendor/clang/dist/test/cxx-sections.data projects/clangbsd/contrib/llvm/tools/clang/test/make_test_dirs.pl - copied unchanged from r194181, vendor/clang/dist/test/make_test_dirs.pl projects/clangbsd/contrib/llvm/tools/clang/www/analyzer/ - copied from r194181, vendor/clang/dist/www/analyzer/ projects/clangbsd/contrib/llvm/utils/crosstool/ - copied from r194181, vendor/llvm/dist/utils/crosstool/ projects/clangbsd/share/colldef/hr_HR.ISO8859-2.src - copied unchanged from r194181, head/share/colldef/hr_HR.ISO8859-2.src projects/clangbsd/share/man/man4/alc.4 - copied unchanged from r194181, head/share/man/man4/alc.4 projects/clangbsd/share/man/man4/mwl.4 - copied unchanged from r194181, head/share/man/man4/mwl.4 projects/clangbsd/share/man/man4/mwlfw.4 - copied unchanged from r194181, head/share/man/man4/mwlfw.4 projects/clangbsd/share/man/man9/BUS_NEW_PASS.9 - copied unchanged from r194181, head/share/man/man9/BUS_NEW_PASS.9 projects/clangbsd/share/man/man9/bus_generic_new_pass.9 - copied unchanged from r194181, head/share/man/man9/bus_generic_new_pass.9 projects/clangbsd/share/man/man9/bus_set_pass.9 - copied unchanged from r194181, head/share/man/man9/bus_set_pass.9 projects/clangbsd/share/monetdef/pt_PT.ISO8859-15.src - copied unchanged from r194181, head/share/monetdef/pt_PT.ISO8859-15.src projects/clangbsd/share/monetdef/pt_PT.UTF-8.src - copied unchanged from r194181, head/share/monetdef/pt_PT.UTF-8.src projects/clangbsd/share/numericdef/de_CH.ISO8859-1.src - copied unchanged from r194181, head/share/numericdef/de_CH.ISO8859-1.src projects/clangbsd/share/syscons/keymaps/danish.iso.acc.kbd - copied unchanged from r194181, head/share/syscons/keymaps/danish.iso.acc.kbd projects/clangbsd/share/syscons/keymaps/pl_PL.dvorak.kbd - copied unchanged from r194181, head/share/syscons/keymaps/pl_PL.dvorak.kbd projects/clangbsd/share/syscons/keymaps/uk.dvorak.kbd - copied unchanged from r194181, head/share/syscons/keymaps/uk.dvorak.kbd projects/clangbsd/sys/arm/mv/mvwin.h - copied unchanged from r194181, head/sys/arm/mv/mvwin.h projects/clangbsd/sys/dev/alc/ - copied from r194181, head/sys/dev/alc/ projects/clangbsd/sys/geom/label/g_label_gpt.c - copied unchanged from r194181, head/sys/geom/label/g_label_gpt.c projects/clangbsd/sys/kern/subr_acl_nfs4.c - copied unchanged from r194181, head/sys/kern/subr_acl_nfs4.c projects/clangbsd/sys/libkern/jenkins.h - copied unchanged from r194181, head/sys/libkern/jenkins.h projects/clangbsd/sys/modules/alc/ - copied from r194181, head/sys/modules/alc/ projects/clangbsd/sys/tools/sound/ - copied from r194181, head/sys/tools/sound/ projects/clangbsd/tools/tools/termcap/ - copied from r194181, head/tools/tools/termcap/ Deleted: projects/clangbsd/contrib/llvm/tools/clang/include/clang/AST/Builtins.def projects/clangbsd/contrib/llvm/tools/clang/include/clang/AST/Builtins.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/AST/PPCBuiltins.def projects/clangbsd/contrib/llvm/tools/clang/include/clang/AST/TargetBuiltins.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/AST/X86Builtins.def projects/clangbsd/contrib/llvm/tools/clang/lib/AST/Builtins.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/right-angle-brackets-0x.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/right-angle-brackets-98.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/temp_param.cpp projects/clangbsd/contrib/llvm/tools/clang/www/latest_checker.html.incl projects/clangbsd/share/man/man9/devclass_add_driver.9 projects/clangbsd/sys/tools/emu10k1-mkalsa.sh projects/clangbsd/sys/tools/feeder_eq_mkfilter.awk projects/clangbsd/sys/tools/feeder_rate_mkfilter.awk projects/clangbsd/sys/tools/snd_fxdiv_gen.awk Modified: projects/clangbsd/ (props changed) projects/clangbsd/UPDATING projects/clangbsd/bin/sh/eval.c projects/clangbsd/bin/sh/eval.h projects/clangbsd/bin/sh/input.c projects/clangbsd/bin/sh/input.h projects/clangbsd/bin/sh/main.c projects/clangbsd/bin/sh/trap.c projects/clangbsd/bin/sh/trap.h projects/clangbsd/contrib/csup/rcsfile.c projects/clangbsd/contrib/gdb/gdb/stack.c projects/clangbsd/contrib/llvm/ (props changed) projects/clangbsd/contrib/llvm/CMakeLists.txt projects/clangbsd/contrib/llvm/CREDITS.TXT projects/clangbsd/contrib/llvm/cmake/modules/AddLLVM.cmake projects/clangbsd/contrib/llvm/cmake/modules/AddPartiallyLinkedObject.cmake projects/clangbsd/contrib/llvm/cmake/modules/CrossCompileLLVM.cmake projects/clangbsd/contrib/llvm/cmake/modules/TableGen.cmake projects/clangbsd/contrib/llvm/docs/CMake.html projects/clangbsd/contrib/llvm/docs/LangRef.html projects/clangbsd/contrib/llvm/docs/TableGenFundamentals.html projects/clangbsd/contrib/llvm/include/llvm/Analysis/ScalarEvolution.h projects/clangbsd/contrib/llvm/include/llvm/Attributes.h projects/clangbsd/contrib/llvm/include/llvm/CodeGen/JITCodeEmitter.h projects/clangbsd/contrib/llvm/include/llvm/CodeGen/MachineCodeEmitter.h projects/clangbsd/contrib/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h projects/clangbsd/contrib/llvm/include/llvm/Function.h projects/clangbsd/contrib/llvm/include/llvm/LinkAllPasses.h projects/clangbsd/contrib/llvm/include/llvm/Target/TargetELFWriterInfo.h projects/clangbsd/contrib/llvm/include/llvm/Target/TargetLowering.h projects/clangbsd/contrib/llvm/include/llvm/Target/TargetMachine.h projects/clangbsd/contrib/llvm/include/llvm/Target/TargetOptions.h projects/clangbsd/contrib/llvm/include/llvm/Target/TargetSelectionDAG.td projects/clangbsd/contrib/llvm/include/llvm/Transforms/IPO.h projects/clangbsd/contrib/llvm/lib/Analysis/ScalarEvolution.cpp projects/clangbsd/contrib/llvm/lib/Analysis/ScalarEvolutionExpander.cpp projects/clangbsd/contrib/llvm/lib/Archive/ArchiveWriter.cpp projects/clangbsd/contrib/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp projects/clangbsd/contrib/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp projects/clangbsd/contrib/llvm/lib/Bitcode/Writer/ValueEnumerator.h projects/clangbsd/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp projects/clangbsd/contrib/llvm/lib/CodeGen/CMakeLists.txt projects/clangbsd/contrib/llvm/lib/CodeGen/ELF.h projects/clangbsd/contrib/llvm/lib/CodeGen/ELFCodeEmitter.cpp projects/clangbsd/contrib/llvm/lib/CodeGen/ELFWriter.cpp projects/clangbsd/contrib/llvm/lib/CodeGen/ELFWriter.h projects/clangbsd/contrib/llvm/lib/CodeGen/LLVMTargetMachine.cpp projects/clangbsd/contrib/llvm/lib/CodeGen/RegisterScavenging.cpp projects/clangbsd/contrib/llvm/lib/ExecutionEngine/JIT/JIT.cpp projects/clangbsd/contrib/llvm/lib/Target/ARM/ARM.h projects/clangbsd/contrib/llvm/lib/Target/ARM/ARM.td projects/clangbsd/contrib/llvm/lib/Target/ARM/ARMCallingConv.td projects/clangbsd/contrib/llvm/lib/Target/ARM/ARMISelLowering.cpp projects/clangbsd/contrib/llvm/lib/Target/ARM/ARMInstrInfo.td projects/clangbsd/contrib/llvm/lib/Target/ARM/ARMInstrThumb.td projects/clangbsd/contrib/llvm/lib/Target/ARM/ARMInstrVFP.td projects/clangbsd/contrib/llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp projects/clangbsd/contrib/llvm/lib/Target/ARM/ARMRegisterInfo.td projects/clangbsd/contrib/llvm/lib/Target/ARM/ARMSubtarget.cpp projects/clangbsd/contrib/llvm/lib/Target/ARM/ARMSubtarget.h projects/clangbsd/contrib/llvm/lib/Target/ARM/ARMTargetMachine.cpp projects/clangbsd/contrib/llvm/lib/Target/ARM/ARMTargetMachine.h projects/clangbsd/contrib/llvm/lib/Target/CMakeLists.txt projects/clangbsd/contrib/llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp projects/clangbsd/contrib/llvm/lib/Target/PIC16/PIC16AsmPrinter.h projects/clangbsd/contrib/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp projects/clangbsd/contrib/llvm/lib/Target/PIC16/PIC16DebugInfo.h projects/clangbsd/contrib/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp projects/clangbsd/contrib/llvm/lib/Target/PIC16/PIC16TargetAsmInfo.h projects/clangbsd/contrib/llvm/lib/Target/TargetMachine.cpp projects/clangbsd/contrib/llvm/lib/Target/X86/README.txt projects/clangbsd/contrib/llvm/lib/Target/X86/X86CallingConv.td projects/clangbsd/contrib/llvm/lib/Target/X86/X86ELFWriterInfo.cpp projects/clangbsd/contrib/llvm/lib/Target/X86/X86ELFWriterInfo.h projects/clangbsd/contrib/llvm/lib/Target/X86/X86FastISel.cpp projects/clangbsd/contrib/llvm/lib/Target/X86/X86ISelLowering.cpp projects/clangbsd/contrib/llvm/lib/Target/X86/X86RegisterInfo.cpp projects/clangbsd/contrib/llvm/lib/Target/X86/X86Subtarget.cpp projects/clangbsd/contrib/llvm/lib/Target/X86/X86TargetMachine.cpp projects/clangbsd/contrib/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp projects/clangbsd/contrib/llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp projects/clangbsd/contrib/llvm/lib/Transforms/IPO/GlobalDCE.cpp projects/clangbsd/contrib/llvm/lib/Transforms/IPO/GlobalOpt.cpp projects/clangbsd/contrib/llvm/lib/Transforms/IPO/MergeFunctions.cpp projects/clangbsd/contrib/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp projects/clangbsd/contrib/llvm/lib/Transforms/Scalar/InstructionCombining.cpp projects/clangbsd/contrib/llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp projects/clangbsd/contrib/llvm/lib/VMCore/Function.cpp projects/clangbsd/contrib/llvm/lib/VMCore/Instruction.cpp projects/clangbsd/contrib/llvm/lib/VMCore/Verifier.cpp projects/clangbsd/contrib/llvm/test/BugPoint/misopt-basictest.ll projects/clangbsd/contrib/llvm/test/CodeGen/ARM/lsr-code-insertion.ll projects/clangbsd/contrib/llvm/test/CodeGen/X86/tailcallstack64.ll projects/clangbsd/contrib/llvm/test/TableGen/if.td projects/clangbsd/contrib/llvm/test/Transforms/IndVarSimplify/2003-09-23-NotAtTop.ll projects/clangbsd/contrib/llvm/test/Transforms/MergeFunc/fold-weak.ll projects/clangbsd/contrib/llvm/test/lib/llvm.exp projects/clangbsd/contrib/llvm/tools/clang/ (props changed) projects/clangbsd/contrib/llvm/tools/clang/CMakeLists.txt projects/clangbsd/contrib/llvm/tools/clang/clang.xcodeproj/project.pbxproj projects/clangbsd/contrib/llvm/tools/clang/docs/LanguageExtensions.html projects/clangbsd/contrib/llvm/tools/clang/docs/PCHInternals.html projects/clangbsd/contrib/llvm/tools/clang/docs/UsersManual.html projects/clangbsd/contrib/llvm/tools/clang/include/clang/AST/ASTContext.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/AST/ASTDiagnostic.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/AST/Attr.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/AST/DeclBase.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/AST/DeclTemplate.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/AST/Stmt.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/Analysis/AnalysisDiagnostic.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.td projects/clangbsd/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticLexKinds.td projects/clangbsd/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticParseKinds.td projects/clangbsd/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds.td projects/clangbsd/contrib/llvm/tools/clang/include/clang/Basic/SourceManager.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/Driver/DriverDiagnostic.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/Driver/Options.def projects/clangbsd/contrib/llvm/tools/clang/include/clang/Frontend/FrontendDiagnostic.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/Lex/LexDiagnostic.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/Lex/Preprocessor.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/Parse/Action.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/Parse/ParseDiagnostic.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/Parse/Parser.h projects/clangbsd/contrib/llvm/tools/clang/include/clang/Sema/SemaDiagnostic.h projects/clangbsd/contrib/llvm/tools/clang/lib/AST/ASTContext.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/AST/CMakeLists.txt projects/clangbsd/contrib/llvm/tools/clang/lib/AST/Decl.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/AST/DeclBase.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/AST/DeclCXX.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/AST/DeclPrinter.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/AST/DeclTemplate.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/AST/Expr.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/AST/ExprConstant.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Analysis/CFRefCount.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Analysis/GRExprEngine.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Analysis/RegionStore.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Basic/CMakeLists.txt projects/clangbsd/contrib/llvm/tools/clang/lib/Basic/Diagnostic.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Basic/Targets.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CGBuiltin.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CGCall.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CGExpr.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CGExprComplex.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CGExprConstant.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/Mangle.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/TargetABIInfo.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Driver/Tools.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Frontend/Backend.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Frontend/PCHReaderStmt.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Frontend/PCHWriterStmt.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Frontend/PrintParserCallbacks.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Headers/xmmintrin.h projects/clangbsd/contrib/llvm/tools/clang/lib/Lex/LiteralSupport.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Lex/PPMacroExpansion.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Parse/ParseDecl.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Parse/ParseDeclCXX.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Parse/ParseExpr.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Parse/ParseStmt.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Parse/ParseTemplate.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Parse/ParseTentative.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/Sema.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/Sema.h projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaDeclAttr.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaDeclCXX.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaExpr.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaInherit.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaInit.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaLookup.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaStmt.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaTemplate.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaTemplateDeduction.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaTemplateInstantiateExpr.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaTemplateInstantiateStmt.cpp projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaType.cpp projects/clangbsd/contrib/llvm/tools/clang/test/Analysis/array-struct.c projects/clangbsd/contrib/llvm/tools/clang/test/CodeGen/always_inline.c projects/clangbsd/contrib/llvm/tools/clang/test/CodeGen/lineno-dbginfo.c projects/clangbsd/contrib/llvm/tools/clang/test/CodeGen/x86_32-arguments.c projects/clangbsd/contrib/llvm/tools/clang/test/Driver/clang_f_opts.c projects/clangbsd/contrib/llvm/tools/clang/test/Makefile projects/clangbsd/contrib/llvm/tools/clang/test/Parser/statements.c projects/clangbsd/contrib/llvm/tools/clang/test/Sema/const-eval.c projects/clangbsd/contrib/llvm/tools/clang/test/SemaCXX/default2.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaCXX/member-pointer.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/default-arguments.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/instantiate-function-1.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/metafun-apply.cpp projects/clangbsd/contrib/llvm/tools/clang/test/SemaTemplate/temp_class_spec.cpp projects/clangbsd/contrib/llvm/tools/clang/tools/clang-cc/clang-cc.cpp projects/clangbsd/contrib/llvm/tools/clang/www/OpenProjects.html projects/clangbsd/contrib/llvm/tools/clang/www/StaticAnalysis.html projects/clangbsd/contrib/llvm/tools/clang/www/StaticAnalysisUsage.html projects/clangbsd/contrib/llvm/tools/clang/www/cxx_status.html projects/clangbsd/contrib/llvm/tools/clang/www/menu.html.incl projects/clangbsd/contrib/llvm/tools/lto/LTOCodeGenerator.cpp projects/clangbsd/contrib/llvm/unittests/ADT/TripleTest.cpp projects/clangbsd/contrib/llvm/utils/GenLibDeps.pl projects/clangbsd/contrib/llvm/utils/NewNightlyTest.pl projects/clangbsd/contrib/llvm/utils/TableGen/ClangDiagnosticsEmitter.cpp projects/clangbsd/contrib/llvm/utils/TableGen/CodeGenDAGPatterns.cpp projects/clangbsd/contrib/llvm/utils/TableGen/Record.cpp projects/clangbsd/contrib/llvm/utils/TableGen/Record.h projects/clangbsd/contrib/llvm/utils/TableGen/TGParser.cpp projects/clangbsd/contrib/llvm/utils/TableGen/TGParser.h projects/clangbsd/contrib/ntp/ntpd/ntp_crypto.c projects/clangbsd/etc/crontab projects/clangbsd/etc/defaults/rc.conf projects/clangbsd/etc/mtree/BSD.local.dist projects/clangbsd/etc/mtree/BSD.usr.dist projects/clangbsd/etc/rc.d/fsck projects/clangbsd/etc/rc.d/jail projects/clangbsd/etc/syslog.conf projects/clangbsd/etc/termcap.small projects/clangbsd/gnu/usr.bin/man/apropos/apropos.sh projects/clangbsd/lib/libc/stdtime/strftime.c projects/clangbsd/lib/libpmc/libpmc.c projects/clangbsd/lib/libpmc/pmc.core2.3 projects/clangbsd/lib/libthread_db/libthr_db.c projects/clangbsd/lib/libthread_db/thread_db.h projects/clangbsd/lib/libufs/type.c projects/clangbsd/lib/libufs/ufs_disk_close.3 projects/clangbsd/lib/libusb/ (props changed) projects/clangbsd/lib/libusb/libusb.3 projects/clangbsd/lib/libusb/libusb20.c projects/clangbsd/lib/libusb/libusb20.h projects/clangbsd/lib/libusb/libusb20_compat01.c projects/clangbsd/lib/libusb/libusb20_int.h projects/clangbsd/lib/libusb/libusb20_ugen20.c projects/clangbsd/lib/libutil/kinfo_getfile.3 projects/clangbsd/lib/libutil/kinfo_getvmmap.3 projects/clangbsd/sbin/dhclient/dhclient.c projects/clangbsd/sbin/fsck_msdosfs/fsck_msdosfs.8 projects/clangbsd/sbin/fsck_msdosfs/main.c projects/clangbsd/sbin/geom/class/label/glabel.8 projects/clangbsd/sbin/geom/class/part/geom_part.c projects/clangbsd/sbin/ifconfig/ifieee80211.c projects/clangbsd/share/colldef/Makefile projects/clangbsd/share/man/man4/Makefile projects/clangbsd/share/man/man4/acpi.4 projects/clangbsd/share/man/man4/altq.4 projects/clangbsd/share/man/man4/iwn.4 projects/clangbsd/share/man/man4/miibus.4 projects/clangbsd/share/man/man4/ng_ipfw.4 projects/clangbsd/share/man/man4/vlan.4 projects/clangbsd/share/man/man9/Makefile projects/clangbsd/share/misc/committers-src.dot projects/clangbsd/share/mklocale/Makefile projects/clangbsd/share/mklocale/ja_JP.SJIS.src projects/clangbsd/share/mklocale/ja_JP.eucJP.src projects/clangbsd/share/monetdef/Makefile projects/clangbsd/share/monetdef/de_CH.ISO8859-1.src projects/clangbsd/share/msgdef/Makefile projects/clangbsd/share/numericdef/Makefile projects/clangbsd/share/syscons/keymaps/INDEX.keymaps projects/clangbsd/share/syscons/keymaps/Makefile projects/clangbsd/share/termcap/termcap.src projects/clangbsd/share/timedef/Makefile projects/clangbsd/share/timedef/ja_JP.SJIS.src projects/clangbsd/share/timedef/ja_JP.eucJP.src projects/clangbsd/share/timedef/ko_KR.UTF-8.src projects/clangbsd/share/timedef/ko_KR.eucKR.src projects/clangbsd/share/timedef/pl_PL.ISO8859-2.src projects/clangbsd/share/timedef/pl_PL.UTF-8.src projects/clangbsd/share/zoneinfo/ (props changed) projects/clangbsd/share/zoneinfo/asia projects/clangbsd/sys/amd64/amd64/local_apic.c projects/clangbsd/sys/amd64/amd64/machdep.c projects/clangbsd/sys/amd64/conf/DEFAULTS projects/clangbsd/sys/amd64/conf/GENERIC projects/clangbsd/sys/amd64/conf/NOTES projects/clangbsd/sys/amd64/include/param.h projects/clangbsd/sys/amd64/isa/clock.c projects/clangbsd/sys/arm/arm/intr.c projects/clangbsd/sys/arm/arm/locore.S projects/clangbsd/sys/arm/at91/at91.c projects/clangbsd/sys/arm/at91/at91_cfata.c projects/clangbsd/sys/arm/at91/at91_mci.c projects/clangbsd/sys/arm/at91/at91_twi.c projects/clangbsd/sys/arm/at91/if_ate.c projects/clangbsd/sys/arm/include/intr.h projects/clangbsd/sys/arm/mv/common.c projects/clangbsd/sys/arm/mv/discovery/db78xxx.c projects/clangbsd/sys/arm/mv/discovery/discovery.c projects/clangbsd/sys/arm/mv/ic.c projects/clangbsd/sys/arm/mv/kirkwood/db88f6xxx.c projects/clangbsd/sys/arm/mv/kirkwood/kirkwood.c projects/clangbsd/sys/arm/mv/mvreg.h projects/clangbsd/sys/arm/mv/orion/db88f5xxx.c projects/clangbsd/sys/arm/mv/orion/orion.c projects/clangbsd/sys/arm/mv/twsi.c projects/clangbsd/sys/arm/sa11x0/sa11x0_irqhandler.c projects/clangbsd/sys/arm/xscale/i80321/i80321.c projects/clangbsd/sys/arm/xscale/i80321/i80321_pci.c projects/clangbsd/sys/arm/xscale/i8134x/i81342.c projects/clangbsd/sys/arm/xscale/ixp425/avila_ata.c projects/clangbsd/sys/arm/xscale/ixp425/avila_led.c projects/clangbsd/sys/arm/xscale/ixp425/cambria_led.c projects/clangbsd/sys/arm/xscale/ixp425/if_npe.c projects/clangbsd/sys/arm/xscale/ixp425/ixp425.c projects/clangbsd/sys/arm/xscale/ixp425/ixp425_iic.c projects/clangbsd/sys/arm/xscale/pxa/pxa_icu.c projects/clangbsd/sys/boot/forth/loader.conf projects/clangbsd/sys/cam/scsi/scsi_target.c projects/clangbsd/sys/cddl/compat/opensolaris/kern/opensolaris.c projects/clangbsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c projects/clangbsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_zfetch.c projects/clangbsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_history.c projects/clangbsd/sys/compat/freebsd32/freebsd32_proto.h projects/clangbsd/sys/compat/freebsd32/freebsd32_syscall.h projects/clangbsd/sys/compat/freebsd32/freebsd32_syscalls.c projects/clangbsd/sys/compat/freebsd32/freebsd32_sysent.c projects/clangbsd/sys/compat/freebsd32/syscalls.master projects/clangbsd/sys/compat/linprocfs/linprocfs.c projects/clangbsd/sys/compat/linux/linux_ioctl.c projects/clangbsd/sys/compat/linux/linux_misc.c projects/clangbsd/sys/compat/svr4/svr4_sockio.c projects/clangbsd/sys/compat/svr4/svr4_stat.c projects/clangbsd/sys/conf/NOTES projects/clangbsd/sys/conf/files projects/clangbsd/sys/conf/options projects/clangbsd/sys/contrib/altq/altq/altq_subr.c projects/clangbsd/sys/contrib/dev/acpica/include/platform/acfreebsd.h projects/clangbsd/sys/contrib/pf/net/if_pflog.c projects/clangbsd/sys/contrib/pf/net/pf_if.c projects/clangbsd/sys/contrib/pf/net/pf_ioctl.c projects/clangbsd/sys/dev/acpica/Osd/OsdSchedule.c projects/clangbsd/sys/dev/acpica/Osd/OsdSynch.c projects/clangbsd/sys/dev/acpica/acpi_pcib_acpi.c projects/clangbsd/sys/dev/acpica/acpivar.h projects/clangbsd/sys/dev/agp/agp_ali.c projects/clangbsd/sys/dev/agp/agp_amd.c projects/clangbsd/sys/dev/agp/agp_ati.c projects/clangbsd/sys/dev/agp/agp_nvidia.c projects/clangbsd/sys/dev/agp/agp_sis.c projects/clangbsd/sys/dev/ata/chipsets/ata-acerlabs.c projects/clangbsd/sys/dev/ath/ath_hal/ah_desc.h projects/clangbsd/sys/dev/ath/ath_hal/ar5212/ar5212_xmit.c projects/clangbsd/sys/dev/ath/ath_hal/ar5416/ar5416_xmit.c projects/clangbsd/sys/dev/ath/ath_rate/sample/sample.c projects/clangbsd/sys/dev/ath/if_ath.c projects/clangbsd/sys/dev/ce/if_ce.c projects/clangbsd/sys/dev/cfi/cfi_core.c projects/clangbsd/sys/dev/cp/if_cp.c projects/clangbsd/sys/dev/ctau/if_ct.c projects/clangbsd/sys/dev/cx/if_cx.c projects/clangbsd/sys/dev/cxgb/cxgb_main.c projects/clangbsd/sys/dev/cxgb/cxgb_multiq.c projects/clangbsd/sys/dev/cxgb/cxgb_sge.c projects/clangbsd/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.c projects/clangbsd/sys/dev/e1000/if_igb.c projects/clangbsd/sys/dev/eisa/eisaconf.c projects/clangbsd/sys/dev/firewire/firewire.c projects/clangbsd/sys/dev/fxp/if_fxp.c projects/clangbsd/sys/dev/if_ndis/if_ndis.c projects/clangbsd/sys/dev/if_ndis/if_ndis_usb.c projects/clangbsd/sys/dev/kbdmux/kbdmux.c projects/clangbsd/sys/dev/ksyms/ksyms.c projects/clangbsd/sys/dev/mca/mca_bus.c projects/clangbsd/sys/dev/mge/if_mge.c projects/clangbsd/sys/dev/mii/miidevs projects/clangbsd/sys/dev/mii/nsgphy.c projects/clangbsd/sys/dev/ncv/ncr53c500_pccard.c projects/clangbsd/sys/dev/nmdm/nmdm.c projects/clangbsd/sys/dev/nsp/nsp_pccard.c projects/clangbsd/sys/dev/ofw/ofw_bus_subr.c projects/clangbsd/sys/dev/ofw/ofw_bus_subr.h projects/clangbsd/sys/dev/ofw/ofw_disk.c projects/clangbsd/sys/dev/ofw/ofw_if.m projects/clangbsd/sys/dev/ofw/ofw_iicbus.c projects/clangbsd/sys/dev/ofw/ofw_standard.c projects/clangbsd/sys/dev/ofw/ofwvar.h projects/clangbsd/sys/dev/ofw/openfirm.c projects/clangbsd/sys/dev/ofw/openfirm.h projects/clangbsd/sys/dev/ofw/openfirmio.c projects/clangbsd/sys/dev/pcf/pcf.c projects/clangbsd/sys/dev/pcf/pcfvar.h projects/clangbsd/sys/dev/pdq/if_fpa.c projects/clangbsd/sys/dev/sec/sec.c projects/clangbsd/sys/dev/smc/if_smc.c projects/clangbsd/sys/dev/smc/if_smcvar.h projects/clangbsd/sys/dev/snc/if_snc.c projects/clangbsd/sys/dev/snc/if_sncvar.h projects/clangbsd/sys/dev/sound/midi/midi.c projects/clangbsd/sys/dev/sound/midi/mpu401.c projects/clangbsd/sys/dev/sound/pci/hda/hdac.c projects/clangbsd/sys/dev/sound/pcm/channel.h projects/clangbsd/sys/dev/sound/pcm/mixer.h projects/clangbsd/sys/dev/sound/pcm/sound.h projects/clangbsd/sys/dev/sound/sbus/cs4231.c projects/clangbsd/sys/dev/spibus/spibus.c projects/clangbsd/sys/dev/stg/tmc18c30.h projects/clangbsd/sys/dev/stg/tmc18c30_subr.c projects/clangbsd/sys/dev/syscons/daemon/daemon_saver.c projects/clangbsd/sys/dev/syscons/scterm-teken.c projects/clangbsd/sys/dev/syscons/teken/teken_demo.c projects/clangbsd/sys/dev/syscons/teken/teken_stress.c projects/clangbsd/sys/dev/tsec/if_tsec.c projects/clangbsd/sys/dev/tsec/if_tsec.h projects/clangbsd/sys/dev/uart/uart_cpu_mv.c projects/clangbsd/sys/dev/ubsec/ubsec.c projects/clangbsd/sys/dev/usb/controller/ehci_mbus.c projects/clangbsd/sys/dev/usb/input/ukbd.c projects/clangbsd/sys/dev/usb/input/ums.c projects/clangbsd/sys/dev/usb/serial/uchcom.c projects/clangbsd/sys/dev/usb/serial/ufoma.c projects/clangbsd/sys/dev/usb/serial/uplcom.c projects/clangbsd/sys/dev/usb/serial/uslcom.c projects/clangbsd/sys/dev/usb/storage/umass.c projects/clangbsd/sys/dev/usb/storage/ustorage_fs.c projects/clangbsd/sys/dev/usb/usb_compat_linux.c projects/clangbsd/sys/dev/usb/usb_core.h projects/clangbsd/sys/dev/usb/usb_dev.c projects/clangbsd/sys/dev/usb/usb_handle_request.c projects/clangbsd/sys/dev/usb/usb_if.m projects/clangbsd/sys/dev/usb/usb_lookup.h projects/clangbsd/sys/dev/usb/usbdevs projects/clangbsd/sys/dev/usb/wlan/if_urtw.c projects/clangbsd/sys/dev/usb/wlan/if_zyd.c projects/clangbsd/sys/dev/usb/wlan/if_zydreg.h projects/clangbsd/sys/dev/wb/if_wb.c projects/clangbsd/sys/dev/wi/if_wi.c projects/clangbsd/sys/dev/wi/if_wivar.h projects/clangbsd/sys/dev/xen/blkfront/blkfront.c projects/clangbsd/sys/dev/xen/netfront/ (props changed) projects/clangbsd/sys/dev/xen/netfront/netfront.c projects/clangbsd/sys/dev/xen/xenpci/ (props changed) projects/clangbsd/sys/fs/cd9660/cd9660_lookup.c projects/clangbsd/sys/fs/cd9660/cd9660_vnops.c projects/clangbsd/sys/fs/devfs/devfs_vnops.c projects/clangbsd/sys/fs/fifofs/fifo_vnops.c projects/clangbsd/sys/fs/msdosfs/msdosfs_vnops.c projects/clangbsd/sys/fs/nfsclient/nfs_clbio.c projects/clangbsd/sys/fs/nfsclient/nfs_clstate.c projects/clangbsd/sys/fs/nfsclient/nfs_clvfsops.c projects/clangbsd/sys/fs/nfsclient/nfs_clvnops.c projects/clangbsd/sys/fs/pseudofs/pseudofs_vnops.c projects/clangbsd/sys/fs/tmpfs/tmpfs_vnops.c projects/clangbsd/sys/geom/geom.h projects/clangbsd/sys/geom/geom_io.c projects/clangbsd/sys/geom/label/g_label.c projects/clangbsd/sys/geom/label/g_label.h projects/clangbsd/sys/gnu/fs/xfs/FreeBSD/xfs_vnops.c projects/clangbsd/sys/i386/acpica/acpi_machdep.c projects/clangbsd/sys/i386/conf/DEFAULTS projects/clangbsd/sys/i386/conf/GENERIC projects/clangbsd/sys/i386/conf/NOTES projects/clangbsd/sys/i386/i386/local_apic.c projects/clangbsd/sys/i386/i386/machdep.c projects/clangbsd/sys/i386/include/cpufunc.h projects/clangbsd/sys/i386/include/in_cksum.h projects/clangbsd/sys/i386/include/legacyvar.h projects/clangbsd/sys/i386/include/pmap.h projects/clangbsd/sys/i386/isa/clock.c projects/clangbsd/sys/i386/isa/vesa.c projects/clangbsd/sys/i386/pci/pci_bus.c projects/clangbsd/sys/kern/bus_if.m projects/clangbsd/sys/kern/init_main.c projects/clangbsd/sys/kern/kern_event.c projects/clangbsd/sys/kern/kern_fork.c projects/clangbsd/sys/kern/kern_jail.c projects/clangbsd/sys/kern/kern_lockf.c projects/clangbsd/sys/kern/kern_mib.c projects/clangbsd/sys/kern/kern_poll.c projects/clangbsd/sys/kern/kern_shutdown.c projects/clangbsd/sys/kern/kern_uuid.c projects/clangbsd/sys/kern/kern_vimage.c projects/clangbsd/sys/kern/link_elf_obj.c projects/clangbsd/sys/kern/linker_if.m projects/clangbsd/sys/kern/subr_bus.c projects/clangbsd/sys/kern/sys_pipe.c projects/clangbsd/sys/kern/sysv_shm.c projects/clangbsd/sys/kern/tty.c projects/clangbsd/sys/kern/tty_pts.c projects/clangbsd/sys/kern/uipc_domain.c projects/clangbsd/sys/kern/uipc_mqueue.c projects/clangbsd/sys/kern/uipc_socket.c projects/clangbsd/sys/kern/uipc_syscalls.c projects/clangbsd/sys/kern/vfs_aio.c projects/clangbsd/sys/kern/vfs_subr.c projects/clangbsd/sys/kern/vfs_syscalls.c projects/clangbsd/sys/kern/vfs_vnops.c projects/clangbsd/sys/kern/vnode_if.src projects/clangbsd/sys/mips/conf/ADM5120 projects/clangbsd/sys/mips/idt/files.idt projects/clangbsd/sys/mips/malta/gt_pci.c projects/clangbsd/sys/mips/mips/mainbus.c projects/clangbsd/sys/modules/Makefile projects/clangbsd/sys/modules/bridgestp/Makefile projects/clangbsd/sys/modules/cxgb/iw_cxgb/Makefile projects/clangbsd/sys/modules/dtrace/dtnfsclient/ (props changed) projects/clangbsd/sys/modules/if_ef/Makefile projects/clangbsd/sys/modules/if_vlan/Makefile projects/clangbsd/sys/modules/ip6_mroute_mod/ (props changed) projects/clangbsd/sys/modules/ip_mroute_mod/Makefile projects/clangbsd/sys/modules/ipfw/Makefile projects/clangbsd/sys/modules/ipmi/ipmi_linux/ (props changed) projects/clangbsd/sys/modules/linprocfs/Makefile projects/clangbsd/sys/modules/linux/Makefile projects/clangbsd/sys/modules/netgraph/atm/atm/Makefile projects/clangbsd/sys/modules/netgraph/ether/Makefile projects/clangbsd/sys/modules/netgraph/gif/Makefile projects/clangbsd/sys/modules/nfsclient/Makefile projects/clangbsd/sys/modules/pf/Makefile projects/clangbsd/sys/modules/sound/sound/Makefile projects/clangbsd/sys/modules/svr4/Makefile projects/clangbsd/sys/modules/wlan/Makefile projects/clangbsd/sys/net/bpf.c projects/clangbsd/sys/net/bridgestp.c projects/clangbsd/sys/net/flowtable.c projects/clangbsd/sys/net/flowtable.h projects/clangbsd/sys/net/if.c projects/clangbsd/sys/net/if_arcsubr.c projects/clangbsd/sys/net/if_bridge.c projects/clangbsd/sys/net/if_ef.c projects/clangbsd/sys/net/if_ethersubr.c projects/clangbsd/sys/net/if_fddisubr.c projects/clangbsd/sys/net/if_fwsubr.c projects/clangbsd/sys/net/if_gif.c projects/clangbsd/sys/net/if_gif.h projects/clangbsd/sys/net/if_iso88025subr.c projects/clangbsd/sys/net/if_loop.c projects/clangbsd/sys/net/if_mib.c projects/clangbsd/sys/net/if_tap.c projects/clangbsd/sys/net/if_tun.c projects/clangbsd/sys/net/if_var.h projects/clangbsd/sys/net/if_vlan.c projects/clangbsd/sys/net/pfkeyv2.h projects/clangbsd/sys/net/raw_cb.c projects/clangbsd/sys/net/raw_usrreq.c projects/clangbsd/sys/net/route.c projects/clangbsd/sys/net/rtsock.c projects/clangbsd/sys/net/vnet.h projects/clangbsd/sys/net80211/_ieee80211.h projects/clangbsd/sys/net80211/ieee80211.c projects/clangbsd/sys/net80211/ieee80211.h projects/clangbsd/sys/net80211/ieee80211_crypto_ccmp.c projects/clangbsd/sys/net80211/ieee80211_ddb.c projects/clangbsd/sys/net80211/ieee80211_dfs.c projects/clangbsd/sys/net80211/ieee80211_ht.c projects/clangbsd/sys/net80211/ieee80211_ioctl.c projects/clangbsd/sys/net80211/ieee80211_ioctl.h projects/clangbsd/sys/net80211/ieee80211_node.c projects/clangbsd/sys/net80211/ieee80211_node.h projects/clangbsd/sys/net80211/ieee80211_proto.h projects/clangbsd/sys/net80211/ieee80211_radiotap.c projects/clangbsd/sys/net80211/ieee80211_sta.c projects/clangbsd/sys/netgraph/atm/ng_atm.c projects/clangbsd/sys/netgraph/netgraph.h projects/clangbsd/sys/netgraph/ng_base.c projects/clangbsd/sys/netgraph/ng_eiface.c projects/clangbsd/sys/netgraph/ng_ether.c projects/clangbsd/sys/netgraph/ng_gif.c projects/clangbsd/sys/netgraph/ng_iface.c projects/clangbsd/sys/netgraph/ng_ip_input.c projects/clangbsd/sys/netgraph/ng_ipfw.c projects/clangbsd/sys/netgraph/ng_ipfw.h projects/clangbsd/sys/netgraph/ng_message.h projects/clangbsd/sys/netinet/if_ether.c projects/clangbsd/sys/netinet/igmp.c projects/clangbsd/sys/netinet/igmp.h projects/clangbsd/sys/netinet/in.c projects/clangbsd/sys/netinet/in_mcast.c projects/clangbsd/sys/netinet/in_proto.c projects/clangbsd/sys/netinet/in_rmx.c projects/clangbsd/sys/netinet/ip_dummynet.h projects/clangbsd/sys/netinet/ip_fw.h projects/clangbsd/sys/netinet/ip_input.c projects/clangbsd/sys/netinet/ip_output.c projects/clangbsd/sys/netinet/ip_var.h projects/clangbsd/sys/netinet/ipfw/ip_dummynet.c (contents, props changed) projects/clangbsd/sys/netinet/ipfw/ip_fw2.c (contents, props changed) projects/clangbsd/sys/netinet/ipfw/ip_fw_pfil.c (contents, props changed) projects/clangbsd/sys/netinet/raw_ip.c projects/clangbsd/sys/netinet/sctp_os_bsd.h projects/clangbsd/sys/netinet/tcp_debug.c projects/clangbsd/sys/netinet/tcp_hostcache.c projects/clangbsd/sys/netinet/tcp_input.c projects/clangbsd/sys/netinet/tcp_subr.c projects/clangbsd/sys/netinet/tcp_syncache.c projects/clangbsd/sys/netinet/tcp_syncache.h projects/clangbsd/sys/netinet/tcp_timewait.c projects/clangbsd/sys/netinet/tcp_usrreq.c projects/clangbsd/sys/netinet/tcp_var.h projects/clangbsd/sys/netinet/udp.h projects/clangbsd/sys/netinet/udp_usrreq.c projects/clangbsd/sys/netinet/udp_var.h projects/clangbsd/sys/netinet6/icmp6.c projects/clangbsd/sys/netinet6/in6.c projects/clangbsd/sys/netinet6/in6_ifattach.c projects/clangbsd/sys/netinet6/in6_mcast.c projects/clangbsd/sys/netinet6/in6_proto.c projects/clangbsd/sys/netinet6/in6_rmx.c projects/clangbsd/sys/netinet6/ip6_input.c projects/clangbsd/sys/netinet6/ip6_mroute.c projects/clangbsd/sys/netinet6/ip6_output.c projects/clangbsd/sys/netinet6/ip6_var.h projects/clangbsd/sys/netinet6/ip6protosw.h projects/clangbsd/sys/netinet6/mld6.c projects/clangbsd/sys/netinet6/nd6.c projects/clangbsd/sys/netinet6/nd6.h projects/clangbsd/sys/netinet6/nd6_rtr.c projects/clangbsd/sys/netinet6/raw_ip6.c projects/clangbsd/sys/netinet6/scope6.c projects/clangbsd/sys/netipsec/ipsec.c projects/clangbsd/sys/netipsec/ipsec_input.c projects/clangbsd/sys/netipsec/ipsec_output.c projects/clangbsd/sys/netipsec/key.c projects/clangbsd/sys/netipsec/key.h projects/clangbsd/sys/netipsec/keydb.h projects/clangbsd/sys/netipsec/keysock.c projects/clangbsd/sys/netipsec/xform_ipip.c projects/clangbsd/sys/netipx/spx_debug.c projects/clangbsd/sys/nfsclient/bootp_subr.c projects/clangbsd/sys/nfsclient/nfs_bio.c projects/clangbsd/sys/nfsclient/nfs_diskless.c projects/clangbsd/sys/nfsclient/nfs_vfsops.c projects/clangbsd/sys/nfsserver/nfs_srvkrpc.c projects/clangbsd/sys/nlm/nlm_advlock.c projects/clangbsd/sys/powerpc/aim/machdep.c projects/clangbsd/sys/powerpc/aim/platform_chrp.c projects/clangbsd/sys/powerpc/booke/pmap.c projects/clangbsd/sys/powerpc/ofw/ofw_real.c projects/clangbsd/sys/powerpc/powermac/cuda.c projects/clangbsd/sys/powerpc/powermac/pmu.c projects/clangbsd/sys/powerpc/powerpc/openpic.c projects/clangbsd/sys/powerpc/psim/ata_iobus.c projects/clangbsd/sys/rpc/clnt_rc.c projects/clangbsd/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c projects/clangbsd/sys/security/audit/audit_pipe.c projects/clangbsd/sys/sys/bio.h projects/clangbsd/sys/sys/buf_ring.h projects/clangbsd/sys/sys/bus.h projects/clangbsd/sys/sys/domain.h projects/clangbsd/sys/sys/event.h projects/clangbsd/sys/sys/jail.h projects/clangbsd/sys/sys/kobj.h projects/clangbsd/sys/sys/mbuf.h projects/clangbsd/sys/sys/mount.h projects/clangbsd/sys/sys/param.h projects/clangbsd/sys/sys/proc.h projects/clangbsd/sys/sys/protosw.h projects/clangbsd/sys/sys/soundcard.h projects/clangbsd/sys/sys/vimage.h projects/clangbsd/sys/vm/phys_pager.c projects/clangbsd/sys/vm/vm_map.c projects/clangbsd/tools/regression/lib/msun/test-conj.t (props changed) projects/clangbsd/tools/tools/ath/common/dumpregs.h (props changed) projects/clangbsd/tools/tools/ath/common/dumpregs_5210.c (props changed) projects/clangbsd/tools/tools/ath/common/dumpregs_5211.c (props changed) projects/clangbsd/tools/tools/ath/common/dumpregs_5212.c (props changed) projects/clangbsd/tools/tools/ath/common/dumpregs_5416.c (props changed) projects/clangbsd/usr.bin/clang/lib/libclangast/Makefile projects/clangbsd/usr.bin/clang/lib/libclangbasic/Makefile projects/clangbsd/usr.bin/clang/lib/libllvmtarget/Makefile projects/clangbsd/usr.bin/fstat/zfs.c projects/clangbsd/usr.sbin/arp/Makefile projects/clangbsd/usr.sbin/arp/arp.c projects/clangbsd/usr.sbin/flowctl/flowctl.c projects/clangbsd/usr.sbin/jail/jail.c projects/clangbsd/usr.sbin/lpr/lp/lp.1 projects/clangbsd/usr.sbin/lpr/lp/lp.sh projects/clangbsd/usr.sbin/makefs/ffs/ffs_bswap.c (props changed) projects/clangbsd/usr.sbin/makefs/ffs/ffs_subr.c (props changed) projects/clangbsd/usr.sbin/makefs/ffs/ufs_bswap.h (props changed) projects/clangbsd/usr.sbin/makefs/getid.c (props changed) projects/clangbsd/usr.sbin/mergemaster/mergemaster.sh projects/clangbsd/usr.sbin/nfsd/nfsv4.4 projects/clangbsd/usr.sbin/nscd/Makefile projects/clangbsd/usr.sbin/nscd/agent.c projects/clangbsd/usr.sbin/nscd/agent.h projects/clangbsd/usr.sbin/nscd/agents/group.c projects/clangbsd/usr.sbin/nscd/agents/group.h projects/clangbsd/usr.sbin/nscd/agents/passwd.c projects/clangbsd/usr.sbin/nscd/agents/passwd.h projects/clangbsd/usr.sbin/nscd/agents/services.c projects/clangbsd/usr.sbin/nscd/agents/services.h projects/clangbsd/usr.sbin/nscd/cachelib.c projects/clangbsd/usr.sbin/nscd/cachelib.h projects/clangbsd/usr.sbin/nscd/cacheplcs.c projects/clangbsd/usr.sbin/nscd/cacheplcs.h projects/clangbsd/usr.sbin/nscd/config.c projects/clangbsd/usr.sbin/nscd/config.h projects/clangbsd/usr.sbin/nscd/debug.c projects/clangbsd/usr.sbin/nscd/debug.h projects/clangbsd/usr.sbin/nscd/hashtable.h projects/clangbsd/usr.sbin/nscd/log.c projects/clangbsd/usr.sbin/nscd/log.h projects/clangbsd/usr.sbin/nscd/mp_rs_query.c projects/clangbsd/usr.sbin/nscd/mp_rs_query.h projects/clangbsd/usr.sbin/nscd/mp_ws_query.c projects/clangbsd/usr.sbin/nscd/mp_ws_query.h projects/clangbsd/usr.sbin/nscd/nscd.c projects/clangbsd/usr.sbin/nscd/nscdcli.c projects/clangbsd/usr.sbin/nscd/nscdcli.h projects/clangbsd/usr.sbin/nscd/parser.c projects/clangbsd/usr.sbin/nscd/parser.h projects/clangbsd/usr.sbin/nscd/protocol.c projects/clangbsd/usr.sbin/nscd/protocol.h projects/clangbsd/usr.sbin/nscd/query.c projects/clangbsd/usr.sbin/nscd/query.h projects/clangbsd/usr.sbin/nscd/singletons.c projects/clangbsd/usr.sbin/pstat/Makefile projects/clangbsd/usr.sbin/pstat/pstat.c projects/clangbsd/usr.sbin/sysinstall/devices.c projects/clangbsd/usr.sbin/syslogd/syslog.conf.5 Modified: projects/clangbsd/UPDATING ============================================================================== --- projects/clangbsd/UPDATING Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/UPDATING Sun Jun 14 15:57:17 2009 (r194195) @@ -22,6 +22,20 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 8. to maximize performance. (To disable malloc debugging, run ln -s aj /etc/malloc.conf.) +20090613: + The layout of the structure returned by IEEE80211_IOC_STA_INFO + has changed. User applications that use this ioctl need to be + rebuilt. + +20090611: + The layout of struct thread has changed. Kernel and modules + need to be rebuilt. + +20090608: + The layout of structs ifnet, domain, protosw and vnet_net has + changed. Kernel modules need to be rebuilt. + Bump __FreeBSD_version to 800097. + 20090602: window(1) has been removed from the base system. It can now be installed from ports. The port is called misc/window. Modified: projects/clangbsd/bin/sh/eval.c ============================================================================== --- projects/clangbsd/bin/sh/eval.c Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/bin/sh/eval.c Sun Jun 14 15:57:17 2009 (r194195) @@ -74,11 +74,6 @@ __FBSDID("$FreeBSD$"); #endif -/* flags in argument to evaltree */ -#define EV_EXIT 01 /* exit after evaluating tree */ -#define EV_TESTED 02 /* exit status is checked; ignore -e flag */ -#define EV_BACKCMD 04 /* command executing within back quotes */ - MKINIT int evalskip; /* set if we are skipping commands */ STATIC int skipcount; /* number of levels to skip */ MKINIT int loopnest; /* current loop nesting level */ @@ -163,20 +158,28 @@ evalstring(char *s, int flags) { union node *n; struct stackmark smark; + int flags_exit; + flags_exit = flags & EV_EXIT; + flags &= ~EV_EXIT; setstackmark(&smark); setinputstring(s, 1); while ((n = parsecmd(0)) != NEOF) { - if (n != NULL) - evaltree(n, flags); + if (n != NULL) { + if (flags_exit && preadateof()) + evaltree(n, flags | EV_EXIT); + else + evaltree(n, flags); + } popstackmark(&smark); } popfile(); popstackmark(&smark); + if (flags_exit) + exitshell(exitstatus); } - /* * Evaluate a parse tree. The value is left in the global variable * exitstatus. @@ -731,7 +734,7 @@ evalcommand(union node *cmd, int flags, /* Fork off a child process if necessary. */ if (cmd->ncmd.backgnd || (cmdentry.cmdtype == CMDNORMAL - && ((flags & EV_EXIT) == 0 || Tflag)) + && ((flags & EV_EXIT) == 0 || have_traps())) || ((flags & EV_BACKCMD) != 0 && (cmdentry.cmdtype != CMDBUILTIN || cmdentry.u.index == CDCMD Modified: projects/clangbsd/bin/sh/eval.h ============================================================================== --- projects/clangbsd/bin/sh/eval.h Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/bin/sh/eval.h Sun Jun 14 15:57:17 2009 (r194195) @@ -45,6 +45,11 @@ struct backcmd { /* result of evalbackc struct job *jp; /* job structure for command */ }; +/* flags in argument to evaltree/evalstring */ +#define EV_EXIT 01 /* exit after evaluating tree */ +#define EV_TESTED 02 /* exit status is checked; ignore -e flag */ +#define EV_BACKCMD 04 /* command executing within back quotes */ + int evalcmd(int, char **); void evalstring(char *, int); union node; /* BLETCH for ansi C */ Modified: projects/clangbsd/bin/sh/input.c ============================================================================== --- projects/clangbsd/bin/sh/input.c Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/bin/sh/input.c Sun Jun 14 15:57:17 2009 (r194195) @@ -321,6 +321,23 @@ check: } /* + * Returns if we are certain we are at EOF. Does not cause any more input + * to be read from the outside world. + */ + +int +preadateof(void) +{ + if (parsenleft > 0) + return 0; + if (parsefile->strpush) + return 0; + if (parsenleft == EOF_NLEFT || parsefile->buf == NULL) + return 1; + return 0; +} + +/* * Undo the last call to pgetc. Only one character may be pushed back. * PEOF may be pushed back. */ Modified: projects/clangbsd/bin/sh/input.h ============================================================================== --- projects/clangbsd/bin/sh/input.h Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/bin/sh/input.h Sun Jun 14 15:57:17 2009 (r194195) @@ -48,6 +48,7 @@ extern int init_editline; /* 0 == not se char *pfgets(char *, int); int pgetc(void); int preadbuffer(void); +int preadateof(void); void pungetc(void); void pushstring(char *, int, void *); void popstring(void); Modified: projects/clangbsd/bin/sh/main.c ============================================================================== --- projects/clangbsd/bin/sh/main.c Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/bin/sh/main.c Sun Jun 14 15:57:17 2009 (r194195) @@ -178,7 +178,7 @@ state2: state3: state = 4; if (minusc) { - evalstring(minusc, 0); + evalstring(minusc, sflag ? 0 : EV_EXIT); } if (sflag || minusc == NULL) { state4: /* XXX ??? - why isn't this before the "if" statement */ Modified: projects/clangbsd/bin/sh/trap.c ============================================================================== --- projects/clangbsd/bin/sh/trap.c Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/bin/sh/trap.c Sun Jun 14 15:57:17 2009 (r194195) @@ -222,6 +222,21 @@ clear_traps(void) /* + * Check if we have any traps enabled. + */ +int +have_traps(void) +{ + char *volatile *tp; + + for (tp = trap ; tp <= &trap[NSIG - 1] ; tp++) { + if (*tp && **tp) /* trap not NULL or SIG_IGN */ + return 1; + } + return 0; +} + +/* * Set the signal handler for the specified signal. The routine figures * out what it should be set to. */ Modified: projects/clangbsd/bin/sh/trap.h ============================================================================== --- projects/clangbsd/bin/sh/trap.h Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/bin/sh/trap.h Sun Jun 14 15:57:17 2009 (r194195) @@ -39,6 +39,7 @@ extern volatile sig_atomic_t gotwinch; int trapcmd(int, char **); void clear_traps(void); +int have_traps(void); void setsignal(int); void ignoresig(int); void onsig(int); Modified: projects/clangbsd/contrib/csup/rcsfile.c ============================================================================== --- projects/clangbsd/contrib/csup/rcsfile.c Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/contrib/csup/rcsfile.c Sun Jun 14 15:57:17 2009 (r194195) @@ -730,7 +730,7 @@ rcsfile_print(struct rcsfile *rf) lprintf(1, "Strict!\n"); if (rf->comment != NULL) lprintf(1, "comment: '%s'\n", rf->comment); - if (rf->expand != EXPAND_DEFAULT); + if (rf->expand != EXPAND_DEFAULT) lprintf(1, "expand: '%s'\n", keyword_encode_expand(rf->expand)); /* Print all deltas. */ Modified: projects/clangbsd/contrib/gdb/gdb/stack.c ============================================================================== --- projects/clangbsd/contrib/gdb/gdb/stack.c Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/contrib/gdb/gdb/stack.c Sun Jun 14 15:57:17 2009 (r194195) @@ -1230,6 +1230,22 @@ backtrace_command_1 (char *count_exp, in printf_filtered ("(More stack frames follow...)\n"); } +struct backtrace_command_args + { + char *count_exp; + int show_locals; + int from_tty; + }; + +/* Stub to call backtrace_command_1 by way of an error catcher. */ +static int +backtrace_command_stub (void *data) +{ + struct backtrace_command_args *args = (struct backtrace_command_args *)data; + backtrace_command_1 (args->count_exp, args->show_locals, args->from_tty); + return 0; +} + static void backtrace_command (char *arg, int from_tty) { @@ -1237,6 +1253,7 @@ backtrace_command (char *arg, int from_t char **argv = (char **) NULL; int argIndicatingFullTrace = (-1), totArgLen = 0, argc = 0; char *argPtr = arg; + struct backtrace_command_args btargs; if (arg != (char *) NULL) { @@ -1286,7 +1303,10 @@ backtrace_command (char *arg, int from_t } } - backtrace_command_1 (argPtr, (argIndicatingFullTrace >= 0), from_tty); + btargs.count_exp = argPtr; + btargs.show_locals = (argIndicatingFullTrace >= 0); + btargs.from_tty = from_tty; + catch_errors (backtrace_command_stub, (char *)&btargs, "", RETURN_MASK_ERROR); if (argIndicatingFullTrace >= 0 && totArgLen > 0) xfree (argPtr); @@ -1299,7 +1319,11 @@ static void backtrace_full_command (char static void backtrace_full_command (char *arg, int from_tty) { - backtrace_command_1 (arg, 1, from_tty); + struct backtrace_command_args btargs; + btargs.count_exp = arg; + btargs.show_locals = 1; + btargs.from_tty = from_tty; + catch_errors (backtrace_command_stub, (char *)&btargs, "", RETURN_MASK_ERROR); } Modified: projects/clangbsd/contrib/llvm/CMakeLists.txt ============================================================================== --- projects/clangbsd/contrib/llvm/CMakeLists.txt Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/contrib/llvm/CMakeLists.txt Sun Jun 14 15:57:17 2009 (r194195) @@ -26,6 +26,7 @@ set(LLVM_MAIN_INCLUDE_DIR ${LLVM_MAIN_SR set(LLVM_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}) set(LLVM_TOOLS_BINARY_DIR ${LLVM_BINARY_DIR}/bin) set(LLVM_EXAMPLES_BINARY_DIR ${LLVM_BINARY_DIR}/examples) +set(LLVM_LIBDIR_SUFFIX "" CACHE STRING "Define suffix of library directory name (32/64)" ) set(LLVM_ALL_TARGETS Alpha @@ -186,11 +187,26 @@ if( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT endif( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT WIN32 ) if( MSVC ) + # List of valid CRTs for MSVC + set(MSVC_CRT + MD + MDd) + + set(LLVM_USE_CRT "" CACHE STRING "Specify VC++ CRT to use for debug/release configurations.") add_llvm_definitions( -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS ) add_llvm_definitions( -D_SCL_SECURE_NO_WARNINGS -DCRT_NONSTDC_NO_WARNINGS ) add_llvm_definitions( -D_SCL_SECURE_NO_DEPRECATE ) add_llvm_definitions( -wd4146 -wd4503 -wd4996 -wd4800 -wd4244 -wd4624 ) add_llvm_definitions( -wd4355 -wd4715 -wd4180 -wd4345 -wd4224 ) + + if (NOT ${LLVM_USE_CRT} STREQUAL "") + list(FIND MSVC_CRT ${LLVM_USE_CRT} idx) + if (idx LESS 0) + message(FATAL_ERROR "Invalid value for LLVM_USE_CRT: ${LLVM_USE_CRT}. Valid options are one of: ${MSVC_CRT}") + endif (idx LESS 0) + add_llvm_definitions("/${LLVM_USE_CRT}") + message(STATUS "Using VC++ CRT: ${LLVM_USE_CRT}") + endif (NOT ${LLVM_USE_CRT} STREQUAL "") endif( MSVC ) include_directories( ${LLVM_BINARY_DIR}/include ${LLVM_MAIN_INCLUDE_DIR}) @@ -207,6 +223,8 @@ set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DE set(LLVM_TABLEGEN "tblgen" CACHE STRING "Native TableGen executable. Saves building one when cross-compiling.") +# Effective tblgen executable to be used: +set(LLVM_TABLEGEN_EXE ${LLVM_TABLEGEN}) add_subdirectory(utils/TableGen) Modified: projects/clangbsd/contrib/llvm/CREDITS.TXT ============================================================================== --- projects/clangbsd/contrib/llvm/CREDITS.TXT Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/contrib/llvm/CREDITS.TXT Sun Jun 14 15:57:17 2009 (r194195) @@ -3,7 +3,7 @@ project. If you have contributed a patc LLVM, please submit a patch to this file to add yourself, and it will be done! -The list is sorted by name and formatted to allow easy grepping and +The list is sorted by surname and formatted to allow easy grepping and beautification by scripts. The fields are: name (N), email (E), web-address (W), PGP key ID and fingerprint (P), description (D), and snail-mail address (S). @@ -148,10 +148,6 @@ N: Patrick Jenkins E: patjenk@wam.umd.edu D: Nightly Tester -N: Brad Jones -E: kungfoomaster@nondot.org -D: Support for packed types - N: Dale Johannesen E: dalej@apple.com D: ARM constant islands improvements @@ -160,6 +156,10 @@ D: Rewrite X87 back end D: Use APFloat for floating point constants widely throughout compiler D: Implement X87 long double +N: Brad Jones +E: kungfoomaster@nondot.org +D: Support for packed types + N: Eric Kidd W: http://randomhacks.net/ D: llvm-config script @@ -231,6 +231,13 @@ N: Scott Michel E: scottm@aero.org D: Added STI Cell SPU backend. +N: Edward O'Callaghan +E: eocallaghan@auroraux.org +W: http://www.auroraux.org +D: Add Clang support with various other improvements to utils/NewNightlyTest.pl +D: Fix and maintain Solaris & AuroraUX support for llvm, various build warnings +D: and error clean ups. + N: Morten Ofstad E: morten@hue.no D: Visual C++ compatibility fixes @@ -266,6 +273,10 @@ N: Arnold Schwaighofer E: arnold.schwaighofer@gmail.com D: Tail call optimization for the x86 backend +N: Shantonu Sen +E: ssen@apple.com +D: Miscellaneous bug fixes + N: Anand Shukla E: ashukla@cs.uiuc.edu D: The `paths' pass @@ -290,8 +301,4 @@ D: Thread Local Storage implementation N: Bill Wendling E: isanbard@gmail.com -D: Machine LICM -D: Darwin exception handling -D: MMX & SSSE3 instructions -D: SPEC2006 support - +D: Bunches of stuff Modified: projects/clangbsd/contrib/llvm/cmake/modules/AddLLVM.cmake ============================================================================== --- projects/clangbsd/contrib/llvm/cmake/modules/AddLLVM.cmake Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/contrib/llvm/cmake/modules/AddLLVM.cmake Sun Jun 14 15:57:17 2009 (r194195) @@ -10,8 +10,8 @@ macro(add_llvm_library name) add_dependencies( ${name} ${LLVM_COMMON_DEPENDS} ) endif( LLVM_COMMON_DEPENDS ) install(TARGETS ${name} - LIBRARY DESTINATION lib - ARCHIVE DESTINATION lib) + LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} + ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}) endmacro(add_llvm_library name) Modified: projects/clangbsd/contrib/llvm/cmake/modules/AddPartiallyLinkedObject.cmake ============================================================================== --- projects/clangbsd/contrib/llvm/cmake/modules/AddPartiallyLinkedObject.cmake Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/contrib/llvm/cmake/modules/AddPartiallyLinkedObject.cmake Sun Jun 14 15:57:17 2009 (r194195) @@ -38,5 +38,5 @@ macro(add_partially_linked_object lib) set( llvm_lib_targets ${llvm_lib_targets} ${tnplo} PARENT_SCOPE ) endif( ) install(FILES ${pll} - DESTINATION lib) + DESTINATION lib${LLVM_LIBDIR_SUFFIX}) endmacro(add_partially_linked_object lib) Modified: projects/clangbsd/contrib/llvm/cmake/modules/CrossCompileLLVM.cmake ============================================================================== --- projects/clangbsd/contrib/llvm/cmake/modules/CrossCompileLLVM.cmake Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/contrib/llvm/cmake/modules/CrossCompileLLVM.cmake Sun Jun 14 15:57:17 2009 (r194195) @@ -1,7 +1,7 @@ if( ${LLVM_TABLEGEN} STREQUAL "tblgen" ) set(CX_NATIVE_TG_DIR "${CMAKE_BINARY_DIR}/native") - set(LLVM_TABLEGEN "${CX_NATIVE_TG_DIR}/bin/tblgen") + set(LLVM_TABLEGEN_EXE "${CX_NATIVE_TG_DIR}/bin/tblgen") add_custom_command(OUTPUT ${CX_NATIVE_TG_DIR} COMMAND ${CMAKE_COMMAND} -E make_directory ${CX_NATIVE_TG_DIR} @@ -13,12 +13,12 @@ if( ${LLVM_TABLEGEN} STREQUAL "tblgen" ) DEPENDS ${CX_NATIVE_TG_DIR} COMMENT "Configuring native TableGen...") - add_custom_command(OUTPUT ${LLVM_TABLEGEN} + add_custom_command(OUTPUT ${LLVM_TABLEGEN_EXE} COMMAND ${CMAKE_BUILD_TOOL} DEPENDS ${CX_NATIVE_TG_DIR}/CMakeCache.txt WORKING_DIRECTORY ${CX_NATIVE_TG_DIR}/utils/TableGen COMMENT "Building native TableGen...") - add_custom_target(NativeTableGen DEPENDS ${LLVM_TABLEGEN}) + add_custom_target(NativeTableGen DEPENDS ${LLVM_TABLEGEN_EXE}) add_dependencies(tblgen NativeTableGen) Modified: projects/clangbsd/contrib/llvm/cmake/modules/TableGen.cmake ============================================================================== --- projects/clangbsd/contrib/llvm/cmake/modules/TableGen.cmake Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/contrib/llvm/cmake/modules/TableGen.cmake Sun Jun 14 15:57:17 2009 (r194195) @@ -6,11 +6,11 @@ macro(tablegen ofn) file(GLOB all_tds "*.td") add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${ofn}.tmp - COMMAND ${LLVM_TABLEGEN} ${ARGN} -I ${CMAKE_CURRENT_SOURCE_DIR} + COMMAND ${LLVM_TABLEGEN_EXE} ${ARGN} -I ${CMAKE_CURRENT_SOURCE_DIR} -I ${LLVM_MAIN_SRC_DIR}/lib/Target -I ${LLVM_MAIN_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/${LLVM_TARGET_DEFINITIONS} -o ${CMAKE_CURRENT_BINARY_DIR}/${ofn}.tmp - DEPENDS ${LLVM_TABLEGEN} ${all_tds} + DEPENDS tblgen ${all_tds} COMMENT "Building ${ofn}.tmp..." ) add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${ofn} Modified: projects/clangbsd/contrib/llvm/docs/CMake.html ============================================================================== --- projects/clangbsd/contrib/llvm/docs/CMake.html Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/contrib/llvm/docs/CMake.html Sun Jun 14 15:57:17 2009 (r194195) @@ -217,6 +217,11 @@
Path where LLVM will be installed if "make install" is invoked or the "INSTALL" target is built.
+
LLVM_LIBDIR_SUFFIX:STRING
+
Extra suffix to append to the directory where libraries are to + be installed. On a 64-bit architecture, one could use + -DLLVM_LIBDIR_SUFFIX=64 to install libraries to /usr/lib64.
+
CMAKE_C_FLAGS:STRING
Extra flags to use when compiling C source files.
@@ -296,7 +301,13 @@
-

TODO

+

See this + wiki page for generic instructions on how to cross-compile + with CMake. It goes into detailed explanations and may seem + daunting, but it is not. On the wiki page there are several + examples including toolchain files. Go directly to + this + section for a quick solution.

Modified: projects/clangbsd/contrib/llvm/docs/LangRef.html ============================================================================== --- projects/clangbsd/contrib/llvm/docs/LangRef.html Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/contrib/llvm/docs/LangRef.html Sun Jun 14 15:57:17 2009 (r194195) @@ -1091,19 +1091,27 @@ stack before the local variables that's see if it has been overwritten. A heuristic is used to determine if a function needs stack protectors or not. -

If a function that has an ssp attribute is inlined into a function +

If a function that has an ssp attribute is inlined into a function that doesn't have an ssp attribute, then the resulting function will -have an ssp attribute.

+have an ssp attribute.
sspreq
This attribute indicates that the function should always emit a stack smashing protector. This overrides the ssp function attribute. -

If a function that has an sspreq attribute is inlined into a +If a function that has an sspreq attribute is inlined into a function that doesn't have an sspreq attribute or which has an ssp attribute, then the resulting function will have -an sspreq attribute.

+an sspreq attribute. + +
noredzone
+
This attribute indicates that the code generator should not enforce red zone +mandated by target specific ABI.
+ +
noimplicitfloat
+
This attributes disables implicit floating point instructions.
+ @@ -1177,6 +1185,9 @@ aspect of the data layout. The specific
asize:abi:pref
This specifies the alignment for an aggregate type of a given bit size.
+
ssize:abi:pref
+
This specifies the alignment for a stack object of a given bit + size.

When constructing the data layout for a given target, LLVM starts with a default set of specifications which are then (possibly) overriden by the @@ -1196,6 +1207,7 @@ are given in this list:

  • v64:64:64 - 64-bit vector is 64-bit aligned
  • v128:128:128 - 128-bit vector is 128-bit aligned
  • a0:0:1 - aggregates are 8-bit aligned
  • +
  • s0:64:64 - stack objects are 64-bit aligned
  • When LLVM is determining the alignment for a given type, it uses the following rules:

    @@ -7209,7 +7221,7 @@ declare void @llvm.stackprotector( i8* & Chris Lattner
    The LLVM Compiler Infrastructure
    - Last modified: $Date: 2009-06-05 00:49:04 +0200 (Fri, 05 Jun 2009) $ + Last modified: $Date: 2009-06-12 21:45:19 +0200 (Fri, 12 Jun 2009) $ Modified: projects/clangbsd/contrib/llvm/docs/TableGenFundamentals.html ============================================================================== --- projects/clangbsd/contrib/llvm/docs/TableGenFundamentals.html Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/contrib/llvm/docs/TableGenFundamentals.html Sun Jun 14 15:57:17 2009 (r194195) @@ -371,8 +371,11 @@ supported include:

    string value
    [{ ... }]
    code fragment
    -
    [ X, Y, Z ]
    -
    list value.
    +
    [ X, Y, Z ]
    +
    list value. is the type of the list +element and is usually optional. In rare cases, +TableGen is unable to deduce the element type in +which case the user must specify it explicitly.
    { a, b, c }
    initializer for a "bits<3>" value
    value
    @@ -778,7 +781,7 @@ This should highlight the APIs in Ta Chris Lattner
    LLVM Compiler Infrastructure
    - Last modified: $Date: 2009-05-19 00:14:45 +0200 (Tue, 19 May 2009) $ + Last modified: $Date: 2009-06-09 20:31:17 +0200 (Tue, 09 Jun 2009) $ Modified: projects/clangbsd/contrib/llvm/include/llvm/Analysis/ScalarEvolution.h ============================================================================== --- projects/clangbsd/contrib/llvm/include/llvm/Analysis/ScalarEvolution.h Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/contrib/llvm/include/llvm/Analysis/ScalarEvolution.h Sun Jun 14 15:57:17 2009 (r194195) @@ -393,6 +393,7 @@ namespace llvm { SCEVHandle getTruncateExpr(const SCEVHandle &Op, const Type *Ty); SCEVHandle getZeroExtendExpr(const SCEVHandle &Op, const Type *Ty); SCEVHandle getSignExtendExpr(const SCEVHandle &Op, const Type *Ty); + SCEVHandle getAnyExtendExpr(const SCEVHandle &Op, const Type *Ty); SCEVHandle getAddExpr(std::vector &Ops); SCEVHandle getAddExpr(const SCEVHandle &LHS, const SCEVHandle &RHS) { std::vector Ops; @@ -465,6 +466,12 @@ namespace llvm { /// it is sign extended. The conversion must not be narrowing. SCEVHandle getNoopOrSignExtend(const SCEVHandle &V, const Type *Ty); + /// getNoopOrAnyExtend - Return a SCEV corresponding to a conversion of + /// the input value to the specified type. If the type must be extended, + /// it is extended with unspecified bits. The conversion must not be + /// narrowing. + SCEVHandle getNoopOrAnyExtend(const SCEVHandle &V, const Type *Ty); + /// getTruncateOrNoop - Return a SCEV corresponding to a conversion of the /// input value to the specified type. The conversion must not be /// widening. Modified: projects/clangbsd/contrib/llvm/include/llvm/Attributes.h ============================================================================== --- projects/clangbsd/contrib/llvm/include/llvm/Attributes.h Sun Jun 14 15:16:24 2009 (r194194) +++ projects/clangbsd/contrib/llvm/include/llvm/Attributes.h Sun Jun 14 15:57:17 2009 (r194195) @@ -61,7 +61,8 @@ const Attributes NoImplicitFloat = 1<<23 /// @brief Attributes that only apply to function parameters. const Attributes ParameterOnly = ByVal | Nest | StructRet | NoCapture; -/// @brief Attributes that only apply to function. +/// @brief Attributes that may be applied to the function itself. These cannot +/// be used on return values or function parameters. const Attributes FunctionOnly = NoReturn | NoUnwind | ReadNone | ReadOnly | NoInline | AlwaysInline | OptimizeForSize | StackProtect | StackProtectReq | NoRedZone | NoImplicitFloat; @@ -186,7 +187,7 @@ public: /// getFnAttributes - The function attributes are returned. Attributes getFnAttributes() const { - return getAttributes(~0); + return getAttributes(~0U); } /// paramHasAttr - Return true if the specified parameter index has the Copied: projects/clangbsd/contrib/llvm/include/llvm/CodeGen/BinaryObject.h (from r194181, vendor/llvm/dist/include/llvm/CodeGen/BinaryObject.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/clangbsd/contrib/llvm/include/llvm/CodeGen/BinaryObject.h Sun Jun 14 15:57:17 2009 (r194195, copy of r194181, vendor/llvm/dist/include/llvm/CodeGen/BinaryObject.h) @@ -0,0 +1,325 @@ +//===-- llvm/CodeGen/BinaryObject.h - Binary Object. -----------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file defines a Binary Object Aka. "blob" for holding data from code +// generators, ready for data to the object module code writters. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_CODEGEN_BINARYOBJECT_H +#define LLVM_CODEGEN_BINARYOBJECT_H + +#include +#include + +namespace llvm { + +class MachineRelocation; +typedef std::vector BinaryData; + +class BinaryObject { +protected: + std::string Name; + bool IsLittleEndian; + bool Is64Bit; + BinaryData Data; + std::vector Relocations; + +public: + /// Constructors and destructor + BinaryObject() {} + + BinaryObject(bool isLittleEndian, bool is64Bit) + : IsLittleEndian(isLittleEndian), Is64Bit(is64Bit) {} + + BinaryObject(const std::string &name, bool isLittleEndian, bool is64Bit) + : Name(name), IsLittleEndian(isLittleEndian), Is64Bit(is64Bit) {} + + ~BinaryObject() {} + + /// getName - get name of BinaryObject + inline std::string getName() const { return Name; } + + /// get size of binary data + size_t size() const { + return Data.size(); + } + + /// get binary data + BinaryData& getData() { + return Data; + } + + /// get machine relocations + const std::vector& getRelocations() const { + return Relocations; + } + + /// emitByte - This callback is invoked when a byte needs to be + /// written to the data stream. + inline void emitByte(uint8_t B) { + Data.push_back(B); + } + + /// emitWord16 - This callback is invoked when a 16-bit word needs to be + /// written to the data stream in correct endian format and correct size. + inline void emitWord16(uint16_t W) { + if (IsLittleEndian) + emitWord16LE(W); + else + emitWord16BE(W); + } + + /// emitWord16LE - This callback is invoked when a 16-bit word needs to be + /// written to the data stream in correct endian format and correct size. + inline void emitWord16LE(uint16_t W) { + Data.push_back((W >> 0) & 255); + Data.push_back((W >> 8) & 255); + } + + /// emitWord16BE - This callback is invoked when a 16-bit word needs to be + /// written to the data stream in correct endian format and correct size. + inline void emitWord16BE(uint16_t W) { + Data.push_back((W >> 8) & 255); + Data.push_back((W >> 0) & 255); + } + + /// emitWord - This callback is invoked when a word needs to be + /// written to the data stream in correct endian format and correct size. + inline void emitWord(uint64_t W) { + if (!Is64Bit) + emitWord32(W); + else + emitWord64(W); + } + + /// emitWord32 - This callback is invoked when a 32-bit word needs to be + /// written to the data stream in correct endian format. + inline void emitWord32(uint32_t W) { + if (IsLittleEndian) + emitWordLE(W); + else + emitWordBE(W); + } + + /// emitWord64 - This callback is invoked when a 32-bit word needs to be + /// written to the data stream in correct endian format. + inline void emitWord64(uint64_t W) { + if (IsLittleEndian) + emitDWordLE(W); + else + emitDWordBE(W); + } + + /// emitWordLE - This callback is invoked when a 32-bit word needs to be + /// written to the data stream in little-endian format. + inline void emitWordLE(uint32_t W) { + Data.push_back((W >> 0) & 255); + Data.push_back((W >> 8) & 255); + Data.push_back((W >> 16) & 255); + Data.push_back((W >> 24) & 255); + } + + /// emitWordBE - This callback is invoked when a 32-bit word needs to be + /// written to the data stream in big-endian format. + /// + inline void emitWordBE(uint32_t W) { + Data.push_back((W >> 24) & 255); + Data.push_back((W >> 16) & 255); + Data.push_back((W >> 8) & 255); + Data.push_back((W >> 0) & 255); + } + + /// emitDWordLE - This callback is invoked when a 64-bit word needs to be + /// written to the data stream in little-endian format. + inline void emitDWordLE(uint64_t W) { + Data.push_back(unsigned(W >> 0) & 255); + Data.push_back(unsigned(W >> 8) & 255); + Data.push_back(unsigned(W >> 16) & 255); + Data.push_back(unsigned(W >> 24) & 255); + Data.push_back(unsigned(W >> 32) & 255); + Data.push_back(unsigned(W >> 40) & 255); + Data.push_back(unsigned(W >> 48) & 255); + Data.push_back(unsigned(W >> 56) & 255); + } + + /// emitDWordBE - This callback is invoked when a 64-bit word needs to be + /// written to the data stream in big-endian format. + inline void emitDWordBE(uint64_t W) { + Data.push_back(unsigned(W >> 56) & 255); + Data.push_back(unsigned(W >> 48) & 255); + Data.push_back(unsigned(W >> 40) & 255); + Data.push_back(unsigned(W >> 32) & 255); + Data.push_back(unsigned(W >> 24) & 255); + Data.push_back(unsigned(W >> 16) & 255); + Data.push_back(unsigned(W >> 8) & 255); + Data.push_back(unsigned(W >> 0) & 255); + } + + /// fixByte - This callback is invoked when a byte needs to be + /// fixup the buffer. + inline void fixByte(uint8_t B, uint32_t offset) { + Data[offset] = B; + } + + /// fixWord16 - This callback is invoked when a 16-bit word needs to + /// fixup the data stream in correct endian format. + inline void fixWord16(uint16_t W, uint32_t offset) { + if (IsLittleEndian) + fixWord16LE(W, offset); + else + fixWord16BE(W, offset); + } + + /// emitWord16LE - This callback is invoked when a 16-bit word needs to + /// fixup the data stream in little endian format. + inline void fixWord16LE(uint16_t W, uint32_t offset) { + Data[offset++] = W & 255; + Data[offset] = (W >> 8) & 255; + } + + /// fixWord16BE - This callback is invoked when a 16-bit word needs to + /// fixup data stream in big endian format. + inline void fixWord16BE(uint16_t W, uint32_t offset) { + Data[offset++] = (W >> 8) & 255; + Data[offset] = W & 255; + } + + /// emitWord - This callback is invoked when a word needs to + /// fixup the data in correct endian format and correct size. + inline void fixWord(uint64_t W, uint32_t offset) { + if (!Is64Bit) + fixWord32(W, offset); + else + fixWord64(W, offset); + } + + /// fixWord32 - This callback is invoked when a 32-bit word needs to + /// fixup the data in correct endian format. + inline void fixWord32(uint32_t W, uint32_t offset) { + if (IsLittleEndian) + fixWord32LE(W, offset); + else + fixWord32BE(W, offset); + } + + /// fixWord32LE - This callback is invoked when a 32-bit word needs to + /// fixup the data in little endian format. + inline void fixWord32LE(uint32_t W, uint32_t offset) { + Data[offset++] = W & 255; + Data[offset++] = (W >> 8) & 255; + Data[offset++] = (W >> 16) & 255; + Data[offset] = (W >> 24) & 255; + } + + /// fixWord32BE - This callback is invoked when a 32-bit word needs to + /// fixup the data in big endian format. + inline void fixWord32BE(uint32_t W, uint32_t offset) { + Data[offset++] = (W >> 24) & 255; + Data[offset++] = (W >> 16) & 255; + Data[offset++] = (W >> 8) & 255; + Data[offset] = W & 255; + } + + /// fixWord64 - This callback is invoked when a 64-bit word needs to + /// fixup the data in correct endian format. + inline void fixWord64(uint64_t W, uint32_t offset) { + if (IsLittleEndian) + fixWord64LE(W, offset); + else + fixWord64BE(W, offset); + } + + /// fixWord64BE - This callback is invoked when a 64-bit word needs to + /// fixup the data in little endian format. + inline void fixWord64LE(uint64_t W, uint32_t offset) { + Data[offset++] = W & 255; + Data[offset++] = (W >> 8) & 255; + Data[offset++] = (W >> 16) & 255; + Data[offset++] = (W >> 24) & 255; + Data[offset++] = (W >> 32) & 255; + Data[offset++] = (W >> 40) & 255; + Data[offset++] = (W >> 48) & 255; + Data[offset] = (W >> 56) & 255; + } + + /// fixWord64BE - This callback is invoked when a 64-bit word needs to + /// fixup the data in big endian format. + inline void fixWord64BE(uint64_t W, uint32_t offset) { + Data[offset++] = (W >> 56) & 255; + Data[offset++] = (W >> 48) & 255; + Data[offset++] = (W >> 40) & 255; + Data[offset++] = (W >> 32) & 255; + Data[offset++] = (W >> 24) & 255; + Data[offset++] = (W >> 16) & 255; + Data[offset++] = (W >> 8) & 255; + Data[offset] = W & 255; + } + + /// emitAlignment - Pad the data to the specified alignment. + void emitAlignment(unsigned Alignment) { + if (Alignment <= 1) return; + unsigned PadSize = -Data.size() & (Alignment-1); + for (unsigned i = 0; i>= 7; + if (Value) Byte |= 0x80; + emitByte(Byte); + } while (Value); + } + + /// emitSLEB128Bytes - This callback is invoked when a SLEB128 needs to be + /// written to the data stream. + void emitSLEB128Bytes(int64_t Value) { + int Sign = Value >> (8 * sizeof(Value) - 1); + bool IsMore; + + do { + unsigned char Byte = Value & 0x7f; + Value >>= 7; + IsMore = Value != Sign || ((Byte ^ Sign) & 0x40) != 0; + if (IsMore) Byte |= 0x80; + emitByte(Byte); + } while (IsMore); + } + + /// emitString - This callback is invoked when a String needs to be + /// written to the data stream. + void emitString(const std::string &String) { + for (unsigned i = 0, N = static_cast(String.size()); i> 0); *CurBufferPtr++ = (uint8_t)(W >> 8); @@ -111,7 +111,7 @@ public: /// emitWordBE - This callback is invoked when a 32-bit word needs to be /// written to the output stream in big-endian format. /// - void emitWordBE(unsigned W) { + void emitWordBE(uint32_t W) { if (4 <= BufferEnd-CurBufferPtr) { *CurBufferPtr++ = (uint8_t)(W >> 24); *CurBufferPtr++ = (uint8_t)(W >> 16); @@ -176,7 +176,7 @@ public: /// emitULEB128Bytes - This callback is invoked when a ULEB128 needs to be /// written to the output stream. - void emitULEB128Bytes(unsigned Value) { + void emitULEB128Bytes(uint64_t Value) { do { uint8_t Byte = Value & 0x7f; Value >>= 7; @@ -187,7 +187,7 @@ public: /// emitSLEB128Bytes - This callback is invoked when a SLEB128 needs to be /// written to the output stream. - void emitSLEB128Bytes(int32_t Value) { + void emitSLEB128Bytes(int64_t Value) { int32_t Sign = Value >> (8 * sizeof(Value) - 1); bool IsMore; @@ -212,7 +212,7 @@ public: } /// emitInt32 - Emit a int32 directive. - void emitInt32(int32_t Value) { + void emitInt32(uint32_t Value) { if (4 <= BufferEnd-CurBufferPtr) { *((uint32_t*)CurBufferPtr) = Value; CurBufferPtr += 4; Copied: projects/clangbsd/contrib/llvm/include/llvm/CodeGen/LazyLiveness.h (from r194181, vendor/llvm/dist/include/llvm/CodeGen/LazyLiveness.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/clangbsd/contrib/llvm/include/llvm/CodeGen/LazyLiveness.h Sun Jun 14 15:57:17 2009 (r194195, copy of r194181, vendor/llvm/dist/include/llvm/CodeGen/LazyLiveness.h) @@ -0,0 +1,63 @@ +//===- LazyLiveness.h - Lazy, CFG-invariant liveness information ----------===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This pass implements a lazy liveness analysis as per "Fast Liveness Checking +// for SSA-form Programs," by Boissinot, et al. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_CODEGEN_LAZYLIVENESS_H +#define LLVM_CODEGEN_LAZYLIVENESS_H + +#include "llvm/CodeGen/MachineFunctionPass.h" +#include "llvm/CodeGen/MachineDominators.h" +#include "llvm/ADT/DenseMap.h" +#include "llvm/ADT/DenseSet.h" +#include "llvm/ADT/SparseBitVector.h" +#include + +namespace llvm { + +class MachineRegisterInfo; + +class LazyLiveness : public MachineFunctionPass { +public: + static char ID; // Pass identification, replacement for typeid + LazyLiveness() : MachineFunctionPass(&ID) { } + + void getAnalysisUsage(AnalysisUsage &AU) const { + AU.setPreservesAll(); + AU.addRequired(); + } + + bool runOnMachineFunction(MachineFunction &mf); + + bool vregLiveIntoMBB(unsigned vreg, MachineBasicBlock* MBB); + +private: *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***