[llvm-commits] [compiler-rt][patch] Build on linux. Avoid extra _
Chris Lattner
clattner at apple.com
Thu Nov 5 20:24:16 PST 2009
On Nov 5, 2009, at 6:36 PM, Rafael Espindola wrote:
> The attached patch avoids adding an extra _ at the start of a symbol
> when building an ELF object. The patch also changes the makefile to
> build a shared library liked with libunwind so that it is a drop-in
> libgcc replacement. I understand that the makefile is deprecated in
> favor of cmake, but the patch might at least be an useful reference
> for someone working on cmake.
Hi Rafael,
Can this just use the __USER_LABEL_PREFIX__ macro? On darwin it is
"_" on linux it is "". You should be able to token paste that onto
the start of a symbol.
-Chris
More information about the llvm-commits
mailing list