[LLVMdev] TargetMCAsmInfo.cpp Question

Ryan Taylor ryta1203 at gmail.com
Wed Feb 27 11:37:25 PST 2013


So GlobalPrefix is set to "_", which is fine but I want to exclude external
library calls from that (I don't want the prefix on library routines), for
example, something like __subsf3. What's the best way to do this?

On Wed, Feb 27, 2013 at 11:05 AM, Ryan Taylor <ryta1203 at gmail.com> wrote:

> I'd like to set all Global Symbols to be prefixed with '_' ; however, when
> I set GlobalPrefix in TargetMCAsmInfo.cpp, this also applies to library
> calls (adds extra underscore which makes 3 so linkage failure), which I
> don't want.
>
> Thanks.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130227/1ec073b5/attachment.html>


More information about the llvm-dev mailing list