Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for asan/tsan/ubsan on Apple builds on OS X crosstool #4984

Closed
rahul-malik opened this issue Apr 9, 2018 · 2 comments
Closed

Support for asan/tsan/ubsan on Apple builds on OS X crosstool #4984

rahul-malik opened this issue Apr 9, 2018 · 2 comments
Labels
P3 We're not considering working on this, but happy to review a PR. (No assignee) platform: apple team-Rules-CPP Issues for C++ rules type: feature request

Comments

@rahul-malik
Copy link
Contributor

ATTENTION! Please read and follow:

Description of the problem / feature request:

Add “features” in OS X crosstool to enable usage of TSAN, UBSAN and ASAN. There have begun api changes in rules_apple but they are not functional until the crosstool supports these features

Feature requests: what underlying problem are you trying to solve with this feature?

I would like to run tests using clang sanitizers.

Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

This is a feature request. You cannot specify a “feature” from the CLI for this currently.

What operating system are you running Bazel on?

Replace this line with your answer.

What's the output of bazel info release?

0.12.0rc2

What's the output of git remote get-url origin ; git rev-parse master ; git rev-parse HEAD ?

Replace this line with your answer.

Have you found anything relevant by searching the web?

Replace these lines with your answer.

Places to look:

Any other information, logs, or outputs that you want to share?

Replace these lines with your answer.

If the files are large, upload as attachment or provide link.

@hlopko
Copy link
Member

hlopko commented Jan 3, 2019

@sergiocampama @trybka

@scentini scentini removed the untriaged label Jan 3, 2019
@hlopko hlopko added the P3 We're not considering working on this, but happy to review a PR. (No assignee) label Jan 9, 2019
swiple-rules-gardener pushed a commit to bazelbuild/rules_apple that referenced this issue Aug 13, 2019
…ol and rules_swift... but not objC yet.

bazelbuild/bazel#5380

bazelbuild/bazel#4984 is the general bug for asan/tsan/ubsan.

WIP NOTES: Currently Under PY3 I'm seeing "ModuleNotFoundError: No module named 'macholib'". https://storage.googleapis.com/bazel-untrusted-buildkite-artifacts/e203259d-8963-405b-b285-c8353a5115ac/test/ios_application_clang_rt_test.simulator/attempt_1.log

RELNOTES: None
PiperOrigin-RevId: 262913436
@hlopko hlopko removed their assignment Dec 6, 2019
keith added a commit to keith/bazel that referenced this issue Jan 5, 2021
This adds support for asan, tsan, and ubsan on Apple platforms.

Fixes bazelbuild#4984 and bazelbuild#6932
@keith
Copy link
Member

keith commented Jan 5, 2021

#12772

keith added a commit to keith/bazel that referenced this issue Jan 6, 2021
This adds support for asan, tsan, and ubsan on Apple platforms.

Fixes bazelbuild#4984 and bazelbuild#6932
philwo pushed a commit that referenced this issue Apr 19, 2021
This adds support for asan, tsan, and ubsan on Apple platforms.

Fixes #4984 and #6932

Closes #12772.

PiperOrigin-RevId: 352489421
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 We're not considering working on this, but happy to review a PR. (No assignee) platform: apple team-Rules-CPP Issues for C++ rules type: feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants