Skip to content

Commit

Permalink
Clean up 'create' tracing message
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Oct 8, 2023
1 parent b3f0193 commit 2e5592a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions symtabAPI/src/Symtab.C
Expand Up @@ -809,13 +809,10 @@ Module *Symtab::getOrCreateModule(const std::string &modName,

Module *ret = NULL;

std::string fileNm, fullNm;
fullNm = modName;
fileNm = extract_pathname_tail(modName);
create_printf("%s[%d]: Module '%s' at location 0x'%zx' not found. Creating new module.\n",
FILE__, __LINE__, modName.c_str());

create_printf("%s[%d]: In %p: Creating new module '%s'/'%s'\n", FILE__, __LINE__, (void*)this, fileNm.c_str(), fullNm.c_str());

ret = new Module(lang_Unknown, modAddr, fullNm, this);
ret = new Module(lang_Unknown, modAddr, modName, this);
assert(ret);

if (impl->modules.contains(ret))
Expand Down

0 comments on commit 2e5592a

Please sign in to comment.