mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Clarify the need of CFI() stuff
llvm-svn: 44819
This commit is contained in:
parent
fd74645812
commit
b003fb0ed7
@ -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
Block a user