[PATCH] D13221: Make CompilerInvocation's use of the debug options more understandable.

Douglas Katzman via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 30 12:55:55 PDT 2015


dougk updated the summary for this revision.
dougk updated this revision to Diff 36140.
dougk added a comment.

Fix CollectArgsForIntegratedAs and make sure that no other tests talk about "-g" after the Driver has produced the command invocation, except for xcore in which apparently xcc does accept -g.


http://reviews.llvm.org/D13221

Files:
  include/clang/Driver/CC1Options.td
  include/clang/Driver/Options.td
  include/clang/Driver/ToolChain.h
  lib/Driver/ToolChains.h
  lib/Driver/Tools.cpp
  lib/Driver/Tools.h
  lib/Frontend/CompilerInvocation.cpp
  test/CodeGen/2006-01-13-Includes.c
  test/CodeGen/2007-05-11-str-const.c
  test/CodeGen/2009-01-21-InvalidIterator.c
  test/CodeGen/2009-03-13-dbg.c
  test/CodeGen/2009-04-23-dbg.c
  test/CodeGen/2009-07-31-DbgDeclare.c
  test/CodeGen/2010-01-14-FnType-DebugInfo.c
  test/CodeGen/2010-01-18-Inlined-Debug.c
  test/CodeGen/2010-02-10-PointerName.c
  test/CodeGen/2010-02-15-DbgStaticVar.c
  test/CodeGen/2010-02-16-DbgScopes.c
  test/CodeGen/2010-03-5-LexicalScope.c
  test/CodeGen/2010-07-08-DeclDebugLineNo.c
  test/CodeGen/2010-08-10-DbgConstant.c
  test/CodeGen/attr-nodebug.c
  test/CodeGen/attr-noinline.c
  test/CodeGen/cleanup-destslot-simple.c
  test/CodeGen/debug-info-257-args.c
  test/CodeGen/debug-info-args.c
  test/CodeGen/debug-info-block-decl.c
  test/CodeGen/debug-info-block-out-return.c
  test/CodeGen/debug-info-block.c
  test/CodeGen/debug-info-compilation-dir.c
  test/CodeGen/debug-info-crash.c
  test/CodeGen/debug-info-enum.c
  test/CodeGen/debug-info-gline-tables-only.c
  test/CodeGen/debug-info-gline-tables-only2.c
  test/CodeGen/debug-info-line.c
  test/CodeGen/debug-info-line2.c
  test/CodeGen/debug-info-line3.c
  test/CodeGen/debug-info-member.c
  test/CodeGen/debug-info-packed-struct.c
  test/CodeGen/debug-info-same-line.c
  test/CodeGen/debug-info-scope-file.c
  test/CodeGen/debug-info-scope.c
  test/CodeGen/debug-info-static.c
  test/CodeGen/debug-info-typedef.c
  test/CodeGen/debug-info-vector.c
  test/CodeGen/debug-info-vla.c
  test/CodeGen/debug-info.c
  test/CodeGen/debug-line-1.c
  test/CodeGen/enum2.c
  test/CodeGen/global-blocks-lines.c
  test/CodeGen/lifetime-debuginfo-1.c
  test/CodeGen/lifetime-debuginfo-2.c
  test/CodeGen/lineno-dbginfo.c
  test/CodeGen/linetable-endscope.c
  test/CodeGen/sse-builtins-dbg.c
  test/CodeGen/vector.c
  test/CodeGenCXX/2006-11-20-GlobalSymbols.cpp
  test/CodeGenCXX/2007-01-02-UnboundedArray.cpp
  test/CodeGenCXX/2009-03-17-dbg.cpp
  test/CodeGenCXX/2009-06-16-DebugInfoCrash.cpp
  test/CodeGenCXX/2010-03-09-AnonAggregate.cpp
  test/CodeGenCXX/2010-05-10-Var-DbgInfo.cpp
  test/CodeGenCXX/2010-05-12-PtrToMember-Dbg.cpp
  test/CodeGenCXX/2010-06-21-LocalVarDbg.cpp
  test/CodeGenCXX/2010-06-22-BitfieldInit.cpp
  test/CodeGenCXX/2010-06-22-ZeroBitfield.cpp
  test/CodeGenCXX/2010-07-23-DeclLoc.cpp
  test/CodeGenCXX/PR20038.cpp
  test/CodeGenCXX/cp-blocks-linetables.cpp
  test/CodeGenCXX/crash.cpp
  test/CodeGenCXX/debug-info-access.cpp
  test/CodeGenCXX/debug-info-anon-union-vars.cpp
  test/CodeGenCXX/debug-info-artificial-arg.cpp
  test/CodeGenCXX/debug-info-blocks.cpp
  test/CodeGenCXX/debug-info-char16.cpp
  test/CodeGenCXX/debug-info-class-nolimit.cpp
  test/CodeGenCXX/debug-info-context.cpp
  test/CodeGenCXX/debug-info-cxx0x.cpp
  test/CodeGenCXX/debug-info-cxx1y.cpp
  test/CodeGenCXX/debug-info-decl-nested.cpp
  test/CodeGenCXX/debug-info-determinism.cpp
  test/CodeGenCXX/debug-info-dup-fwd-decl.cpp
  test/CodeGenCXX/debug-info-enum-class.cpp
  test/CodeGenCXX/debug-info-enum.cpp
  test/CodeGenCXX/debug-info-flex-member.cpp
  test/CodeGenCXX/debug-info-function-context.cpp
  test/CodeGenCXX/debug-info-fwd-ref.cpp
  test/CodeGenCXX/debug-info-gline-tables-only.cpp
  test/CodeGenCXX/debug-info-global-ctor-dtor.cpp
  test/CodeGenCXX/debug-info-global.cpp
  test/CodeGenCXX/debug-info-globalinit.cpp
  test/CodeGenCXX/debug-info-indirect-field-decl.cpp
  test/CodeGenCXX/debug-info-large-constant.cpp
  test/CodeGenCXX/debug-info-line-if.cpp
  test/CodeGenCXX/debug-info-line.cpp
  test/CodeGenCXX/debug-info-method-nodebug.cpp
  test/CodeGenCXX/debug-info-method.cpp
  test/CodeGenCXX/debug-info-method2.cpp
  test/CodeGenCXX/debug-info-namespace.cpp
  test/CodeGenCXX/debug-info-nullptr.cpp
  test/CodeGenCXX/debug-info-ptr-to-member-function.cpp
  test/CodeGenCXX/debug-info-qualifiers.cpp
  test/CodeGenCXX/debug-info-rvalue-ref.cpp
  test/CodeGenCXX/debug-info-scope.cpp
  test/CodeGenCXX/debug-info-static-fns.cpp
  test/CodeGenCXX/debug-info-template-explicit-specialization.cpp
  test/CodeGenCXX/debug-info-template-fwd.cpp
  test/CodeGenCXX/debug-info-template-limit.cpp
  test/CodeGenCXX/debug-info-template-member.cpp
  test/CodeGenCXX/debug-info-template-partial-specialization.cpp
  test/CodeGenCXX/debug-info-template-quals.cpp
  test/CodeGenCXX/debug-info-template-recursive.cpp
  test/CodeGenCXX/debug-info-thunk.cpp
  test/CodeGenCXX/debug-info-union-template.cpp
  test/CodeGenCXX/debug-info-union.cpp
  test/CodeGenCXX/debug-info-use-after-free.cpp
  test/CodeGenCXX/debug-info-uuid.cpp
  test/CodeGenCXX/debug-info-varargs.cpp
  test/CodeGenCXX/debug-info-vtable-optzn.cpp
  test/CodeGenCXX/debug-info-wchar.cpp
  test/CodeGenCXX/debug-info-windows-dtor.cpp
  test/CodeGenCXX/debug-info.cpp
  test/CodeGenCXX/debug-lambda-expressions.cpp
  test/CodeGenCXX/debug-lambda-this.cpp
  test/CodeGenCXX/destructor-debug-info.cpp
  test/CodeGenCXX/globalinit-loc.cpp
  test/CodeGenCXX/inline-dllexport-member.cpp
  test/CodeGenCXX/linetable-cleanup.cpp
  test/CodeGenCXX/linetable-eh.cpp
  test/CodeGenCXX/linetable-fnbegin.cpp
  test/CodeGenCXX/linetable-virtual-variadic.cpp
  test/CodeGenCXX/lpad-linetable.cpp
  test/CodeGenCXX/scoped-enums-debug-info.cpp
  test/CodeGenCXX/vtable-holder-self-reference.cpp
  test/CodeGenObjC/2009-01-21-invalid-debug-info.m
  test/CodeGenObjC/2010-02-09-DbgSelf.m
  test/CodeGenObjC/2010-02-15-Dbg-MethodStart.m
  test/CodeGenObjC/2010-02-23-DbgInheritance.m
  test/CodeGenObjC/arc-linetable-autorelease.m
  test/CodeGenObjC/arc-linetable.m
  test/CodeGenObjC/block-byref-debuginfo.m
  test/CodeGenObjC/blocks-ivar-debug.m
  test/CodeGenObjC/catch-lexical-block.m
  test/CodeGenObjC/debug-info-block-captured-self.m
  test/CodeGenObjC/debug-info-block-helper.m
  test/CodeGenObjC/debug-info-block-line.m
  test/CodeGenObjC/debug-info-block-type.m
  test/CodeGenObjC/debug-info-blocks.m
  test/CodeGenObjC/debug-info-class-extension.m
  test/CodeGenObjC/debug-info-class-extension2.m
  test/CodeGenObjC/debug-info-class-extension3.m
  test/CodeGenObjC/debug-info-crash-2.m
  test/CodeGenObjC/debug-info-crash.m
  test/CodeGenObjC/debug-info-default-synth-ivar.m
  test/CodeGenObjC/debug-info-getter-name.m
  test/CodeGenObjC/debug-info-id-with-protocol.m
  test/CodeGenObjC/debug-info-impl.m
  test/CodeGenObjC/debug-info-instancetype.m
  test/CodeGenObjC/debug-info-ivars-extension.m
  test/CodeGenObjC/debug-info-ivars-indirect.m
  test/CodeGenObjC/debug-info-ivars-private.m
  test/CodeGenObjC/debug-info-ivars.m
  test/CodeGenObjC/debug-info-lifetime-crash.m
  test/CodeGenObjC/debug-info-linkagename.m
  test/CodeGenObjC/debug-info-nested-blocks.m
  test/CodeGenObjC/debug-info-property-accessors.m
  test/CodeGenObjC/debug-info-property.m
  test/CodeGenObjC/debug-info-property2.m
  test/CodeGenObjC/debug-info-property3.m
  test/CodeGenObjC/debug-info-property4.m
  test/CodeGenObjC/debug-info-property5.m
  test/CodeGenObjC/debug-info-pubtypes.m
  test/CodeGenObjC/debug-info-selector.m
  test/CodeGenObjC/debug-info-self.m
  test/CodeGenObjC/debug-info-static-var.m
  test/CodeGenObjC/debug-info-synthesis.m
  test/CodeGenObjC/debug-info-variadic-method.m
  test/CodeGenObjC/debug-property-synth.m
  test/CodeGenObjC/debuginfo-properties.m
  test/CodeGenObjC/layout-bitfield-crash.m
  test/CodeGenObjC/objc-fixed-enum.m
  test/CodeGenObjC/objc2-weak-ivar-debug.m
  test/CodeGenObjC/property-dbg.m
  test/CodeGenObjCXX/debug-info-cyclic.mm
  test/CodeGenObjCXX/debug-info-line.mm
  test/CodeGenObjCXX/debug-info.mm
  test/CodeGenObjCXX/nested-ehlocation.mm
  test/CodeGenObjCXX/pr14474-gline-tables-only.mm
  test/CodeGenObjCXX/property-objects.mm
  test/Coverage/codegen-next.m
  test/Coverage/codegen.c
  test/Coverage/targets.c
  test/Driver/cl-options.c
  test/Driver/clang-g-opts.c
  test/Driver/debug-options-as.c
  test/Driver/debug-options.c
  test/Driver/integrated-as.s
  test/Driver/split-debug.c
  test/Frontend/optimization-remark-line-directive.c
  test/Frontend/optimization-remark.c
  test/Misc/backend-optimization-failure.cpp
  test/Modules/DebugInfoSubmoduleImport.c
  test/Modules/DebugInfoSubmodules.c
  test/Modules/DebugInfoTransitiveImport.m
  test/Modules/ExtDebugInfo.cpp
  test/Modules/ExtDebugInfo.m
  test/Modules/ModuleDebugInfo.cpp
  test/Modules/cxx-irgen.cpp
  test/Modules/debug-info-moduleimport.m
  test/OpenMP/atomic_codegen.cpp
  test/OpenMP/critical_codegen.cpp
  test/OpenMP/flush_codegen.cpp
  test/OpenMP/for_codegen.cpp
  test/OpenMP/for_simd_codegen.cpp
  test/OpenMP/master_codegen.cpp
  test/OpenMP/parallel_codegen.cpp
  test/OpenMP/parallel_for_codegen.cpp
  test/OpenMP/parallel_for_simd_codegen.cpp
  test/OpenMP/simd_codegen.cpp
  test/OpenMP/single_codegen.cpp
  test/OpenMP/taskgroup_codegen.cpp
  test/OpenMP/threadprivate_codegen.cpp
  test/PCH/debug-info-limited-struct.c
  test/PCH/pending-ids.m
  test/Rewriter/line-generation-test.m
  test/VFS/external-names.c
  tools/driver/cc1as_main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13221.36140.patch
Type: text/x-patch
Size: 153599 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150930/84d5234e/attachment-0001.bin>


More information about the cfe-commits mailing list