diff options
author | Victor Hernandez <vhernandez@apple.com> | 2009-12-03 23:40:58 +0000 |
---|---|---|
committer | Victor Hernandez <vhernandez@apple.com> | 2009-12-03 23:40:58 +0000 |
commit | 1971556cc271710b683bc3ca8327c903791c910f (patch) | |
tree | 835d4cbbe52ff5fb78192438d7322e3426aa0ce4 /lib/AsmParser/LLParser.h | |
parent | 4dc4a61c0c47611fef23e06145ece9f63b2a8dc6 (diff) | |
download | llvm-1971556cc271710b683bc3ca8327c903791c910f.tar.gz llvm-1971556cc271710b683bc3ca8327c903791c910f.tar.bz2 llvm-1971556cc271710b683bc3ca8327c903791c910f.tar.xz |
Add ParseInlineMetadata() which can parses metadata that refers to an instruction. Extend ParseParameterList() to use this new function so that calls to llvm.dbg.declare can pass inline metadata
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.h')
-rw-r--r-- | lib/AsmParser/LLParser.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.h b/lib/AsmParser/LLParser.h index 1112dc494c..d14b1cb362 100644 --- a/lib/AsmParser/LLParser.h +++ b/lib/AsmParser/LLParser.h @@ -279,7 +279,9 @@ namespace llvm { LocTy Loc; return ParseTypeAndBasicBlock(BB, Loc, PFS); } - + + bool ParseInlineMetadata(Value *&V, PerFunctionState &PFS); + struct ParamInfo { LocTy Loc; Value *V; |