summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-04-02 18:24:03 +0000
committerGreg Clayton <gclayton@apple.com>2015-04-02 18:24:03 +0000
commite0d0a7652d40fc890009d048ba3e7532068af1d0 (patch)
treee21c817f47dcecf8688c168b3412b16142355e17 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parenta5cad0d6a66378a3429cb94d557f192d4223180e (diff)
downloadbcm5719-llvm-e0d0a7652d40fc890009d048ba3e7532068af1d0.tar.gz
bcm5719-llvm-e0d0a7652d40fc890009d048ba3e7532068af1d0.zip
Many many test failures after some recent changes. The problem is lldbtest.getPlatform() returns the "OS" of the selected platform's triple. This is "macosx" for desktop macosx and "ios" for iOS. It used to be "darwin".
There was a lot of code that was checking "if self.getPlatform() == 'darwin'" which is not correct. I fixed this by adding a: lldbtest.platformIsDarwin() which returns true if the current platform's OS is "macosx", "ios" or "darwin". These three valid darwin are now returned by a static function: lldbtest.getDarwinOSTriples() Fixed up all places that has 'if self.getPlatform() == "darwin":' with "if self.platformIsDarwin()" and all instances of 'if self.getPlatform() != "darwin":' with "if not self.platformIsDarwin()". I also fixed some darwin decorator functions to do the right thing as well. llvm-svn: 233933
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud