1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Add a method to get the list of FrameInfos.

llvm-svn: 135805
This commit is contained in:
Bill Wendling 2011-07-22 21:16:32 +00:00
parent 7347599e42
commit 2eea7949c2

View File

@ -14,11 +14,12 @@
#ifndef LLVM_MC_MCSTREAMER_H
#define LLVM_MC_MCSTREAMER_H
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/MC/MCDirectives.h"
#include "llvm/MC/MCDwarf.h"
#include "llvm/MC/MCWin64EH.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/SmallVector.h"
namespace llvm {
class MCAsmInfo;
@ -96,6 +97,10 @@ namespace llvm {
return FrameInfos[i];
}
ArrayRef<MCDwarfFrameInfo> getFrameInfos() {
return FrameInfos;
}
unsigned getNumW64UnwindInfos() {
return W64UnwindInfos.size();
}