Commit Graph

5 Commits

Author SHA1 Message Date
Steven Wu
407674ea52 [Test] Fix the wrong subsitution of swift-frontend-target in tests
There is no `%swift-frontend-target` subsitution in test, which is
actually `%target-swift-frontend`. The wrong spelling is actually
interpreted by lit as `%swift`-frontend-target, and surprising didn't
break any tests as the last argument from subsitution is
`-define-availability` so it just leads to an very akward availability
definition.
2023-12-18 16:07:48 -08:00
Rintaro Ishizaki
c587705924 Revert "XFAIL macro tests failing in ASAN bot"
This reverts commit 26122f6f80.
2023-12-04 13:38:54 -08:00
Becca Royal-Gordon
26122f6f80 XFAIL macro tests failing in ASAN bot 2023-12-04 11:08:27 -08:00
Daniel Rodríguez Troitiño
5d2e4a380c [test] Replace %swift-build-cxx-plugin with %swift-build-c-plugin (#70188)
As pointed out in https://github.com/apple/swift/pull/70136#discussion_r1411417454
the substitution name does not make sense because we are compiling
C code, not C++.

This should not introduce any behavioural changes.
2023-12-04 09:24:35 -08:00
Rintaro Ishizaki
0c9f099d88 [Macros] Add option to disable sandbox for exectuable plugins
`-disable-sandbox` to disable sandboxing when invoking subprocess from
from the frontend. Since `sandbox(7)` in macOS doesn't support nested
sandbox, complation used to fail when the parent build process is sandboxed.
2023-11-27 13:44:40 -08:00