diff options
author | Martin Storsjo <martin@martin.st> | 2017-11-14 19:57:59 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2017-11-14 19:57:59 +0000 |
commit | 4629f523126477e338c09b0e4af80cfea3bc22d1 (patch) | |
tree | f231214a389c7daf5d69c7cb456e06a250f56213 /llvm/lib/Target/ARM/ARMISelLowering.cpp | |
parent | 69c233ac6c17476c9b7a30ac8d99724c9428c28b (diff) | |
download | bcm5719-llvm-4629f523126477e338c09b0e4af80cfea3bc22d1.tar.gz bcm5719-llvm-4629f523126477e338c09b0e4af80cfea3bc22d1.zip |
[ARM, AArch64] Fix an assert message, Darwin isn't the only target supporting TLS. NFC.
llvm-svn: 318184
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index 44837898709..617675c7ca1 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -2763,7 +2763,8 @@ SDValue ARMTargetLowering::LowerBlockAddress(SDValue Op, SDValue ARMTargetLowering::LowerGlobalTLSAddressDarwin(SDValue Op, SelectionDAG &DAG) const { - assert(Subtarget->isTargetDarwin() && "TLS only supported on Darwin"); + assert(Subtarget->isTargetDarwin() && + "This function expects a Darwin target"); SDLoc DL(Op); // First step is to get the address of the actua global symbol. This is where |