mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-18 10:24:45 +00:00
Clarify the need of CFI() stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44819 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -47,6 +47,9 @@ static TargetJITInfo::JITCompilerFn JITCompilerFunction;
|
|||||||
#define GETASMPREFIX(X) GETASMPREFIX2(X)
|
#define GETASMPREFIX(X) GETASMPREFIX2(X)
|
||||||
#define ASMPREFIX GETASMPREFIX(__USER_LABEL_PREFIX__)
|
#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__)
|
#if defined(__APPLE__)
|
||||||
# define CFI(x)
|
# define CFI(x)
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user