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)
commit69dd37580c8425ece74551008ca9d01d368c35ff
tree06f59943dc2309fc6ab0c34277108c0cd70c07e5
parentc068b91ae1d6633e8ed4c938ad50671abd445d10
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238222 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h