aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-02-03 23:22:43 +0000
committerVedant Kumar <vsk@apple.com>2016-02-03 23:22:43 +0000
commit2d5b5d3d3a231e0de70d80220791e592709e3b2b (patch)
tree113525cdf5b3c29ac43193567b46d450e88e8a04 /llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
parentf24d409dce53ccb8b05a6d8d3ef95f2a0c62f29e (diff)
downloadllvm-2d5b5d3d3a231e0de70d80220791e592709e3b2b.zip
llvm-2d5b5d3d3a231e0de70d80220791e592709e3b2b.tar.gz
llvm-2d5b5d3d3a231e0de70d80220791e592709e3b2b.tar.bz2
[InstrProfiling] Fix a comment (NFC)
llvm-svn: 259727
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp b/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
index 40413ad..3124262 100644
--- a/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
+++ b/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
@@ -277,7 +277,7 @@ static inline bool shouldRecordFunctionAddr(Function *F) {
static inline Comdat *getOrCreateProfileComdat(Module &M,
InstrProfIncrementInst *Inc) {
// COFF format requires a COMDAT section to have a key symbol with the same
- // name. The linker targeting COFF also requires that the COMDAT section
+ // name. The linker targeting COFF also requires that the COMDAT
// a section is associated to must precede the associating section. For this
// reason, we must choose the name var's name as the name of the comdat.
StringRef ComdatPrefix = (Triple(M.getTargetTriple()).isOSBinFormatCOFF()