aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2007-12-10 23:08:35 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2007-12-10 23:08:35 +0000
commit2fb9deef108bb652d81aae5b92f9aa796765ba95 (patch)
tree30387928fe7675473f6837b9da47316f920ff168 /lib
parent5f68287605b919dd1974e29f13c266abed9ac7c5 (diff)
downloadexternal_llvm-2fb9deef108bb652d81aae5b92f9aa796765ba95.zip
external_llvm-2fb9deef108bb652d81aae5b92f9aa796765ba95.tar.gz
external_llvm-2fb9deef108bb652d81aae5b92f9aa796765ba95.tar.bz2
Clarify the need of CFI() stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44819 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86JITInfo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/X86/X86JITInfo.cpp b/lib/Target/X86/X86JITInfo.cpp
index 5f88da5..441c3b4 100644
--- a/lib/Target/X86/X86JITInfo.cpp
+++ b/lib/Target/X86/X86JITInfo.cpp
@@ -47,6 +47,9 @@ static TargetJITInfo::JITCompilerFn JITCompilerFunction;
#define GETASMPREFIX(X) GETASMPREFIX2(X)
#define ASMPREFIX GETASMPREFIX(__USER_LABEL_PREFIX__)
+// Provide a convenient way for disable usage of CFI directives.
+// This is needed for old/broken assemblers (for example, gas on
+// Darwin is pretty old and doesn't support these directives)
#if defined(__APPLE__)
# define CFI(x)
#else