Added '-Hkeep-all-bodies' switch.

The same behavior is triggered by the '-inline' switch for
DMD, but this doesn't quite translate to LDC.
This commit is contained in:
David Nadlinger 2013-03-16 11:52:19 +01:00
parent 82ba7fe548
commit 32eb24eebf
4 changed files with 28 additions and 3 deletions

View file

@ -187,6 +187,10 @@ cl::opt<std::string> hdrFile("Hf",
cl::value_desc("filename"),
cl::Prefix);
static cl::opt<bool, true> hdrKeepAllBodies("Hkeep-all-bodies",
cl::desc("Keep all function bodies in .di files"),
cl::ZeroOrMore,
cl::location(global.params.hdrKeepAllBodies));
static cl::opt<bool, true> unittest("unittest",
cl::desc("Compile in unit tests"),