Make EmitFunctionHeader virtual
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 26 May 2015 17:33:15 +0000 (17:33 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 26 May 2015 17:33:15 +0000 (17:33 +0000)
commit134ce5d1e48d496290fb25ce5fb3032e3e9b5f02
tree6f1693444cf08ab907184b2e21b9acaa28420425
parent99016999703149a91127bc811d81a356441b9bfd
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
llvm/include/llvm/CodeGen/AsmPrinter.h