diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-04-18 18:49:44 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-04-18 18:49:44 +0000 |
commit | 3b55a372d4c457d65dadd9a04c2b2d310f1bab83 (patch) | |
tree | 8d1e11f186f341e52a49e9deb0c01602443fe238 /lib/Transforms/Instrumentation/PathProfiling.cpp | |
parent | 57557155c91f360d5e8a51d0b0623ebdcca2e3be (diff) |
Mark some functions as used which are used within debug-only code. This
silences Clang's -Wunused-function when building in release mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/PathProfiling.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/PathProfiling.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Transforms/Instrumentation/PathProfiling.cpp b/lib/Transforms/Instrumentation/PathProfiling.cpp index 3def2af2fe..6bd4478395 100644 --- a/lib/Transforms/Instrumentation/PathProfiling.cpp +++ b/lib/Transforms/Instrumentation/PathProfiling.cpp @@ -389,6 +389,9 @@ namespace llvm { // BallLarusEdge << operator overloading raw_ostream& operator<<(raw_ostream& os, + const BLInstrumentationEdge& edge) + LLVM_ATTRIBUTE_USED; + raw_ostream& operator<<(raw_ostream& os, const BLInstrumentationEdge& edge) { os << "[" << edge.getSource()->getName() << " -> " << edge.getTarget()->getName() << "] init: " |