File tree Expand file tree Collapse file tree
lldb/packages/Python/lldbsuite/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66@skipUnlessArm64eSupported
77class Arm64eTestBase (TestBase ):
88 def build (self ):
9+ triple = configuration .triple .replace ("arm64-" , "arm64e-" )
10+ # ARCH_CFLAGS is a Make command-line variable set by the test harness
11+ # to a plain (non-arm64e) `-mtargetos=...` flag. A plain in-Makefile
12+ # assignment can't override a command-line variable, so overriding
13+ # TRIPLE alone leaves the compiler without an explicit `-target`
14+ # flag and it silently falls back to the host's default (non-arm64e)
15+ # triple. Override ARCH_CFLAGS too so it wins as a later command-line
16+ # definition.
917 super ().build (
10- dictionary = {"TRIPLE" : configuration . triple . replace ( "arm64-" , "arm64e-" ) }
18+ dictionary = {"TRIPLE" : triple , "ARCH_CFLAGS" : "-target " + triple }
1119 )
You can’t perform that action at this time.
0 commit comments