Add --protect-lib to create protected libraries, bug1490.

This commit is contained in:
Todd Strader
2019-10-09 06:47:26 -04:00
parent 58a42834a6
commit da0da9e258
29 changed files with 1261 additions and 68 deletions
+4
View File
@@ -921,6 +921,10 @@ void V3Options::parseOptsList(FileLine* fl, const string& optdir, int argc, char
shift;
m_outputSplitCTrace = atoi(argv[i]);
}
else if (!strcmp(sw, "-protect-lib") && (i+1)<argc) {
shift; m_protectLib = argv[i];
m_protectIds = true;
}
else if (!strcmp(sw, "-trace-fst")) {
m_trace = true;
m_traceFormat = TraceFormat::FST;