Don't mangle run-time library method names.

This commit is contained in:
Geza Lore 2022-04-23 14:06:26 +01:00
parent f1ea30f257
commit a9cd2998e5
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ Verilator 4.221 devel
* Fix filenames with dots overwriting debug .vpp files (#3373).
* Fix including VK_USER_OBJS in make library (#3370). [Julien Margetts]
* Fix crash in recursive module inlining (#3393). [david-sawatzke]
* Fix --protect-ids mangling names of library methods. [Geza Lore, Shunyao CAD]
Verilator 4.220 2022-03-12
==========================

View File

@ -406,7 +406,7 @@ public:
virtual void visit(AstCMethodHard* nodep) override {
iterate(nodep->fromp());
puts(".");
puts(nodep->nameProtect());
puts(nodep->name());
puts("(");
bool comma = false;
for (AstNode* subnodep = nodep->pinsp(); subnodep; subnodep = subnodep->nextp()) {