diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2015-05-26 17:33:15 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2015-05-26 17:33:15 +0000 |
commit | 134ce5d1e48d496290fb25ce5fb3032e3e9b5f02 (patch) | |
tree | 6f1693444cf08ab907184b2e21b9acaa28420425 | |
parent | 99016999703149a91127bc811d81a356441b9bfd (diff) | |
download | bcm5719-llvm-134ce5d1e48d496290fb25ce5fb3032e3e9b5f02.tar.gz bcm5719-llvm-134ce5d1e48d496290fb25ce5fb3032e3e9b5f02.zip |
Make EmitFunctionHeader virtual
This is to fix problems introduced by r232481. For HSAIL,
this function does essentially nothing desirable, and
injects unwanted / incorrect stuff before the function.
The only thing it really needs to do is call EmitFunctionEntryLabel
in this case.
llvm-svn: 238222
-rw-r--r-- | llvm/include/llvm/CodeGen/AsmPrinter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h index 070261a4cfc..47201e2564e 100644 --- a/llvm/include/llvm/CodeGen/AsmPrinter.h +++ b/llvm/include/llvm/CodeGen/AsmPrinter.h @@ -502,7 +502,7 @@ private: mutable unsigned Counter; /// This method emits the header for the current function. - void EmitFunctionHeader(); + virtual void EmitFunctionHeader(); /// Emit a blob of inline asm to the output streamer. void |