summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src
diff options
context:
space:
mode:
authorAndrey Churbanov <Andrey.Churbanov@intel.com>2015-02-10 19:31:17 +0000
committerAndrey Churbanov <Andrey.Churbanov@intel.com>2015-02-10 19:31:17 +0000
commitc5bccf94eb77dc78d22167ebc4a35698a05e887a (patch)
tree6856856f8302038841f78cf49b1553f293dea02d /openmp/runtime/src
parent4ee4a98eaae16bbf9041acd3bc0f605b03d196e2 (diff)
downloadbcm5719-llvm-c5bccf94eb77dc78d22167ebc4a35698a05e887a.tar.gz
bcm5719-llvm-c5bccf94eb77dc78d22167ebc4a35698a05e887a.zip
Added comment on format of local labels in asm code
llvm-svn: 228727
Diffstat (limited to 'openmp/runtime/src')
-rw-r--r--openmp/runtime/src/z_Linux_asm.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/openmp/runtime/src/z_Linux_asm.s b/openmp/runtime/src/z_Linux_asm.s
index 10cb0973f76..c33c817bf48 100644
--- a/openmp/runtime/src/z_Linux_asm.s
+++ b/openmp/runtime/src/z_Linux_asm.s
@@ -69,6 +69,8 @@ KMP_PREFIX_UNDERSCORE($0):
.endmacro
# else // defined __APPLE__ && defined __MACH__
# define KMP_PREFIX_UNDERSCORE(x) x // no extra underscore for Linux* OS symbols
+// Format labels so that they don't override function names in gdb's backtraces
+// MIC assembler doesn't accept .L syntax, the L works fine there (as well as on OS X*)
# if __MIC__ || __MIC2__
# define KMP_LABEL(x) L_##x // local label
# else
OpenPOWER on IntegriCloud