[Lldb-commits] [lldb] r306683 - Android.rules: build x86 tests with -mstackrealign
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 29 07:32:23 PDT 2017
Author: labath
Date: Thu Jun 29 07:32:23 2017
New Revision: 306683
URL: http://llvm.org/viewvc/llvm-project?rev=306683&view=rev
Log:
Android.rules: build x86 tests with -mstackrealign
All android builds systems have switched to -mstackrealign for building
x86 binaries, so follow their cue with our mini build system.
This presently breaks just one test (TestReturnValue), and this is due
to a compiler bug, which has already been fixed in clang, but it hasn't
made it yet into the official NDK compiler. While I'm touching that
test, I also remove an android-specific XFAIL, which is not relevant
anymore.
Modified:
lldb/trunk/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py
lldb/trunk/packages/Python/lldbsuite/test/make/Android.rules
Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py?rev=306683&r1=306682&r2=306683&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py Thu Jun 29 07:32:23 2017
@@ -31,12 +31,8 @@ class ReturnValueTestCase(TestBase):
"<=",
"3.6"],
archs=["i386"])
- @expectedFailureAll(
- bugnumber="llvm.org/pr25785",
- hostoslist=["windows"],
- compiler="gcc",
- archs=["i386"],
- triple='.*-android')
+ @expectedFailureAll(compiler="clang", compiler_version=["<=", "5.0.300080"],
+ triple='.*-android', archs=["i386"])
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
@add_test_categories(['pyapi'])
def test_with_python(self):
@@ -185,12 +181,6 @@ class ReturnValueTestCase(TestBase):
"<=",
"3.6"],
archs=["i386"])
- @expectedFailureAll(
- bugnumber="llvm.org/pr25785",
- hostoslist=["windows"],
- compiler="gcc",
- archs=["i386"],
- triple='.*-android')
@expectedFailureAll(compiler=["gcc"], archs=["x86_64", "i386"])
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
def test_vector_values(self):
Modified: lldb/trunk/packages/Python/lldbsuite/test/make/Android.rules
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/make/Android.rules?rev=306683&r1=306682&r2=306683&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/make/Android.rules (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/make/Android.rules Thu Jun 29 07:32:23 2017
@@ -90,3 +90,7 @@ else
ARCH_LDFLAGS += $(NDK_ROOT)/sources/cxx-stl/gnu-libstdc++/4.9/libs/$(STL_ARCH)/libgnustl_static.a
endif
+
+ifeq "$(ARCH)" "i386"
+ ARCH_CFLAGS += -mstackrealign
+endif
More information about the lldb-commits
mailing list