forked from OSchip/llvm-project
parent
a6b0f7e244
commit
77eb5e649d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue