[llvm] r344430 - [llvm-readobj] Fix an error message about .llvm.call-graph-profile
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 12 15:57:57 PDT 2018
Author: maskray
Date: Fri Oct 12 15:57:57 2018
New Revision: 344430
URL: http://llvm.org/viewvc/llvm-project?rev=344430&view=rev
Log:
[llvm-readobj] Fix an error message about .llvm.call-graph-profile
.note.llvm.cgprofile was an obvious typo in rL333823
Modified:
llvm/trunk/tools/llvm-readobj/ELFDumper.cpp
Modified: llvm/trunk/tools/llvm-readobj/ELFDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/ELFDumper.cpp?rev=344430&r1=344429&r2=344430&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/ELFDumper.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/ELFDumper.cpp Fri Oct 12 15:57:57 2018
@@ -1423,7 +1423,7 @@ ELFDumper<ELFT>::ELFDumper(const ELFFile
break;
case ELF::SHT_LLVM_CALL_GRAPH_PROFILE:
if (DotCGProfileSec != nullptr)
- reportError("Multiple .note.llvm.cgprofile");
+ reportError("Multiple .llvm.call-graph-profile");
DotCGProfileSec = &Sec;
break;
case ELF::SHT_LLVM_ADDRSIG:
More information about the llvm-commits
mailing list