Implement -gline-tables-only (PR #1861)

As per ldc-developers/ldc#1844 .
This commit is contained in:
Remi Thebault 2016-11-12 20:16:41 +01:00 committed by Johan Engelen
parent 39a5aaecdb
commit 3b63effd3f
6 changed files with 157 additions and 23 deletions

View file

@ -117,7 +117,8 @@ static cl::opt<bool, true> ignoreUnsupportedPragmas(
static cl::opt<ubyte, true> debugInfo(
cl::desc("Generating debug information:"), cl::ZeroOrMore,
clEnumValues(clEnumValN(1, "g", "Generate debug information"),
clEnumValN(2, "gc", "Same as -g, but pretend to be C")),
clEnumValN(2, "gc", "Same as -g, but pretend to be C"),
clEnumValN(3, "gline-tables-only", "Generate line-tables-only")),
cl::location(global.params.symdebug), cl::init(0));
static cl::opt<unsigned, true>