diff options
Diffstat (limited to 'clang/tools/ccc/ccclib/ToolChain.py')
| -rw-r--r-- | clang/tools/ccc/ccclib/ToolChain.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/tools/ccc/ccclib/ToolChain.py b/clang/tools/ccc/ccclib/ToolChain.py index cda94083795..ea35de9502c 100644 --- a/clang/tools/ccc/ccclib/ToolChain.py +++ b/clang/tools/ccc/ccclib/ToolChain.py @@ -86,6 +86,12 @@ class ToolChain(object): def isMathErrnoDefault(self): return True + def isUnwindTablesDefault(self): + # FIXME: Target hook. + if self.archName == 'x86_64': + return True + return False + def getRelocationModel(self, picEnabled, picDisabled): if picEnabled: return 'pic' |

