Clarify the need of CFI() stuff

llvm-svn: 44819
This commit is contained in:
Anton Korobeynikov 2007-12-10 23:08:35 +00:00
parent a6b0f7e244
commit 77eb5e649d
1 changed files with 3 additions and 0 deletions

View File

@ -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