[LLVMdev] [windows+mingw] is there a way to tell llvm to generate symbol with a leading _ ?
Rafael EspĂndola
rafael.espindola at gmail.com
Tue Jan 28 15:49:00 PST 2014
On 25 January 2014 18:44, Carl <name.is.carl at gmail.com> wrote:
>
> Hello,
>
> I was recommended to post my question here.
>
...
> I was told that I should add "m:w" to your data layout string. How so?
> By using the feature parameter of Target?
No, if this is codegen, it should just work. Check computeDataLayout
in X86TargetMachine.cpp. The call to getManglingComponent should be
adding the "m:w".
If codegen is not involved, you need to set the datalayout in the
Module by calling setDataLayout.
Cheers,
Rafael
More information about the llvm-dev
mailing list