[llvm-commits] [compiler-rt] r86542 - /compiler-rt/trunk/lib/assembly.h
Rafael Espindola
rafael.espindola at gmail.com
Mon Nov 9 06:27:04 PST 2009
Author: rafael
Date: Mon Nov 9 08:27:04 2009
New Revision: 86542
URL: http://llvm.org/viewvc/llvm-project?rev=86542&view=rev
Log:
Use __USER_LABEL_PREFIX__ so that we don't add a _ prefix on ELF.
Modified:
compiler-rt/trunk/lib/assembly.h
Modified: compiler-rt/trunk/lib/assembly.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/assembly.h?rev=86542&r1=86541&r2=86542&view=diff
==============================================================================
--- compiler-rt/trunk/lib/assembly.h (original)
+++ compiler-rt/trunk/lib/assembly.h Mon Nov 9 08:27:04 2009
@@ -25,7 +25,7 @@
#else
-#define SYMBOL_NAME(name) _##name
+#define SYMBOL_NAME(name) #__USER_LABEL_PREFIX__ ##name
#define SEPARATOR ;
#endif
More information about the llvm-commits
mailing list