diff options
| author | Devang Patel <dpatel@apple.com> | 2010-02-03 19:57:19 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2010-02-03 19:57:19 +0000 |
| commit | 4e0d19dfd9ab77f9974cb07320dfe4f7f5ffd7b9 (patch) | |
| tree | 45272c2987a2088e60c51f21d009b88a8ea33a97 /include | |
| parent | 3a813dc7079135fa417d22f7b234e902a20c93ce (diff) | |
Provide interface to identifiy artificial methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95240 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
| -rw-r--r-- | include/llvm/Analysis/DebugInfo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index 0227b2c662..331a89b0e2 100644 --- a/include/llvm/Analysis/DebugInfo.h +++ b/include/llvm/Analysis/DebugInfo.h @@ -375,6 +375,7 @@ namespace llvm { DICompositeType getContainingType() const { return getFieldAs<DICompositeType>(13); } + unsigned isArtificial() const { return getUnsignedField(14); } StringRef getFilename() const { return getCompileUnit().getFilename();} StringRef getDirectory() const { return getCompileUnit().getDirectory();} @@ -595,7 +596,8 @@ namespace llvm { bool isDefinition, unsigned VK = 0, unsigned VIndex = 0, - DIType = DIType()); + DIType = DIType(), + bool isArtificial = 0); /// CreateSubprogramDefinition - Create new subprogram descriptor for the /// given declaration. |
