R600: Use MCAsmInfoELF as AMDGPUMCAsmInfo base class
authorTom Stellard <thomas.stellard@amd.com>
Tue, 7 Oct 2014 21:09:23 +0000 (21:09 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 7 Oct 2014 21:09:23 +0000 (21:09 +0000)
commit9eb63e54dbac622d2942c48ed6a186d5da4810e3
tree8cf13ab526dea9b6e8236b62e14b88d49828200c
parentb8fee4f1d982eac6d7b3c3659bc2bb3cd312e1a3
R600: Use MCAsmInfoELF as AMDGPUMCAsmInfo base class

The main reason for this is that the MCAsmInfo class,
which we were previously using as the base class, sets
PrivateGlobalPrefix to "L", which causes all global
functions that start with L to be treated as local symbols.

MCAsmInfoELF sets PrivateGlobalPrefix to ".L", which is what
we want, and it is probably a good idea to use this as the
base class anyway, since we are emitting ELF binaries.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219237 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp
lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.h