summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/DebugInfoSubmoduleImport.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a test that local submodule visibility has no effect on debug infoAdrian Prantl2017-05-111-0/+5
| | | | | | rdar://problem/27876262 llvm-svn: 302809
* [modules][debuginfo] Only include imported modules when targeting LLDBDavid Blaikie2016-05-031-1/+1
| | | | | | | | | | | | | | | | | These constructs are only applicable to a debugger capable of loading a Clang AST, so omit them for brevity when not doing so. We could potentially propagate more of CodeGenOptions through the ObjectFilePCGContainerOperations for consistency (so the next person who adds some CodeGenOpts feature that tweaks debug info output doesn't get caught by this), so I'm open to objections/alternatives there, but went with this for now. Tested just a couple of basic cases (one direct, one indirect (through the ObjectFilePCHContainerOperations) & fixed up other cases to pass the -debugger-tuning flag as appropriate. llvm-svn: 268460
* Stop messing with the 'g' group of options in CompilerInvocation.Douglas Katzman2015-10-081-1/+1
| | | | | | | | | | | | | | | | With this change, most 'g' options are rejected by CompilerInvocation. They remain only as Driver options. The new way to request debug info from cc1 is with "-debug-info-kind={line-tables-only|limited|standalone}" and "-dwarf-version={2|3|4}". In the absence of a command-line option to specify Dwarf version, the Toolchain decides it, rather than placing Toolchain-specific logic in CompilerInvocation. Also fix a bug in the Windows compatibility argument parsing in which the "rightmost argument wins" principle failed. Differential Revision: http://reviews.llvm.org/D13221 llvm-svn: 249655
* Module Debugging: Emit submodules as nested DW_TAG_modules.Adrian Prantl2015-09-241-0/+15
llvm-svn: 248511
OpenPOWER on IntegriCloud