Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [PGO] cc1 option name change for profile instrumentation | Rong Xu | 2016-02-04 | 1 | -1/+1 |
| | | | | | | | | | | | | This patch changes cc1 option -fprofile-instr-generate to an enum option -fprofile-instrument={clang|none}. It also changes cc1 options -fprofile-instr-generate= to -fprofile-instrument-path=. The driver level option -fprofile-instr-generate and -fprofile-instr-generate= remain intact. This change will pave the way to integrate new PGO instrumentation in IR level. Review: http://reviews.llvm.org/D16730 llvm-svn: 259811 | ||||
* | InstrProf: Fix a misuse of the FunctionDecl API when generating coverage | Justin Bogner | 2015-07-28 | 1 | -0/+15 |
This was calling FD->hasBody(), meaning "Does the function that this decl refers to have a body?", rather than FD->doesThisDeclarationHaveABody(), meaning "Is this decl a non-deleted definition?". We might want to consider renaming these APIs :/ llvm-svn: 243360 |