aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2020-02-05 13:23:49 +0100
committerRaphael Isemann <teemperor@gmail.com>2020-02-05 13:24:06 +0100
commit8d8bd0d6548ed9d2482de341c1b0e53449e5c564 (patch)
tree0f211a5c2740ca947ca907df59460b943402b7f7 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parentf780e15caf1bed0a9fbc87fde70bd5ab3d80a439 (diff)
downloadllvm-8d8bd0d6548ed9d2482de341c1b0e53449e5c564.zip
llvm-8d8bd0d6548ed9d2482de341c1b0e53449e5c564.tar.gz
llvm-8d8bd0d6548ed9d2482de341c1b0e53449e5c564.tar.bz2
[lldb] Make TestDataFormatterObjCCF.py pass outside California
Summary: This test creates its dates with `NSDate dateWithNaturalLanguageString` which is deprecated and uses the current time zone of the machine to interpret the input string. This causes that the created NSDate has a different value depending on the locale of the machine and we hardcoded the value for California's time zone (PST) but the data formatter gives out the GMT value as a string. This just replaces the use with the timezone-independent dateWithTimeIntervalSince1970 (which we also use in the rest of the test) to make this pass independently of the time zone of the machine running the test. Reviewers: mib Reviewed By: mib Subscribers: lldb-commits, JDevlieghere Tags: #lldb Differential Revision: https://reviews.llvm.org/D74038
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions