summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/WinException.h
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-08-18 19:07:12 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-08-18 19:07:12 +0000
commit0ad363eebc2d4246cf4bb7d6cf047cd8f8210bc4 (patch)
tree31b043ed528212e32ae8c0e79d3a585db1576e05 /llvm/lib/CodeGen/AsmPrinter/WinException.h
parent1378a5aec3f1f03ff02df671a700f4a41c4acc97 (diff)
downloadbcm5719-llvm-0ad363eebc2d4246cf4bb7d6cf047cd8f8210bc4.tar.gz
bcm5719-llvm-0ad363eebc2d4246cf4bb7d6cf047cd8f8210bc4.zip
[WinEH] Calculate state numbers for the new EH representation
State numbers are calculated by performing a walk from the innermost funclet to the outermost funclet. Rudimentary support for the new EH constructs has been added to the assembly printer, just enough to test the new machinery. Differential Revision: http://reviews.llvm.org/D12098 llvm-svn: 245331
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/WinException.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/WinException.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/WinException.h b/llvm/lib/CodeGen/AsmPrinter/WinException.h
index 669c9cc366b..7a80984c32e 100644
--- a/llvm/lib/CodeGen/AsmPrinter/WinException.h
+++ b/llvm/lib/CodeGen/AsmPrinter/WinException.h
@@ -18,9 +18,9 @@
namespace llvm {
class Function;
-class GlobalValue;
class MachineFunction;
class MCExpr;
+class Value;
struct WinEHFuncInfo;
class LLVM_LIBRARY_VISIBILITY WinException : public EHStreamer {
@@ -56,7 +56,7 @@ class LLVM_LIBRARY_VISIBILITY WinException : public EHStreamer {
StringRef FLinkageName);
const MCExpr *create32bitRef(const MCSymbol *Value);
- const MCExpr *create32bitRef(const GlobalValue *GV);
+ const MCExpr *create32bitRef(const Value *V);
public:
//===--------------------------------------------------------------------===//
OpenPOWER on IntegriCloud