diff options
Diffstat (limited to 'cuobjdump_to_ptxplus/ptx_parser.h')
| -rw-r--r-- | cuobjdump_to_ptxplus/ptx_parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cuobjdump_to_ptxplus/ptx_parser.h b/cuobjdump_to_ptxplus/ptx_parser.h index da22f30..c6d7027 100644 --- a/cuobjdump_to_ptxplus/ptx_parser.h +++ b/cuobjdump_to_ptxplus/ptx_parser.h @@ -134,9 +134,9 @@ void add_function_name( const char *headerInput ) { DPRINTF("name=%s", headerInput); char* headerInfo = (char*) headerInput; - const char* compareString = g_headerList->getListEnd().getBase(); + std::string compareString = g_headerList->getListEnd().getBase(); - if((strcmp(compareString, ".entry")==0)||(strcmp(compareString, ".func")==0)) + if((compareString == ".entry")||(compareString == ".func")) { g_headerList->setLastEntryName(headerInfo); g_headerList->getListEnd().addOperand(headerInfo); |
