Add a parameter to the Win64 EH section getters to get a section with a

suffix (e.g. .xdata$myfunc). The suffix part isn't implemented yet, but
I'll get to it in the next patch.

Fix up all callers of the affected functions. Make them pass said suffix to
the function.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132205 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Charles Davis
2011-05-27 19:09:24 +00:00
parent d3444ff532
commit 7b06b7357a
6 changed files with 60 additions and 22 deletions

View File

@@ -20,6 +20,7 @@
#include <vector>
namespace llvm {
class StringRef;
class MCStreamer;
class MCSymbol;
@@ -80,6 +81,7 @@ namespace llvm {
class MCWin64EHUnwindEmitter {
public:
static StringRef GetSectionSuffix(const MCSymbol *func);
//
// This emits the unwind info sections (.pdata and .xdata in PE/COFF).
//