projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f68287
)
Clarify the need of CFI() stuff
author
Anton Korobeynikov
<asl@math.spbu.ru>
Mon, 10 Dec 2007 23:08:35 +0000
(23:08 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Mon, 10 Dec 2007 23:08:35 +0000
(23:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44819
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86JITInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86JITInfo.cpp
b/lib/Target/X86/X86JITInfo.cpp
index 5f88da5f89b6104aa425f7b421a1ec64ca554d4e..441c3b4f31e1bff3af40251b735559bf7632de72 100644
(file)
--- 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