Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

llvm/clang: optionally enable the sanitizers #27505

Closed
aktau opened this issue Mar 13, 2014 · 7 comments
Closed

llvm/clang: optionally enable the sanitizers #27505

aktau opened this issue Mar 13, 2014 · 7 comments

Comments

@aktau
Copy link
Contributor

aktau commented Mar 13, 2014

The clang sanitizers are amazingly useful for detecting all sorts of problems with the code. And it would be cool to have this (optionally) in the standard llvm build.

It's in the compiler-rt git repository and is already optionally installed by the homebrew/versions/llvm34 brew: http://compiler-rt.llvm.org/ so it's already been tested.

Look at the --with-asan switch. This actually enables all sanitizers, not just asan.

@adamv
Copy link
Contributor

adamv commented Apr 23, 2014

This should be opened at homebrew-versions: https://github.com/Homebrew/homebrew-versions

@adamv adamv closed this as completed Apr 23, 2014
@aktau
Copy link
Contributor Author

aktau commented Apr 23, 2014

@adamv as I had mentioned in my original post, the formula's in llvm-versions already have the option requested, so no need to open an issue there. I opened it here so that the standard llvm build could also have it. Is there a good reason not to include this option?

@adamv adamv reopened this Apr 23, 2014
@adamv
Copy link
Contributor

adamv commented Apr 23, 2014

@Homebrew/owners what's the reason we still package llvm 3.4 here instead of 3.5?

@jacknagel
Copy link
Contributor

3.4 is the current release

@adamv
Copy link
Contributor

adamv commented Apr 23, 2014

The mind boggles.

Can we at least pull the 3.4 formula from versions over, as it is more full-featured, or are we deliberately packaging a stripped down formula? There are some other LLVM issues open asking for features that look to already be provided in the versions version.

@jacknagel
Copy link
Contributor

It is my understanding that the (keg-only) llvm in core exists mostly for things that depend on it, like language runtimes, and the (non-keg-only) homebrew-versions are intended more for direct use.

I'd suggest not changing anything, I don't really want to start shuttling these things back and forth between taps.

@adamv
Copy link
Contributor

adamv commented Apr 23, 2014

Closing; the recommendation is to use the more full-featured LLVMs from versions if you need additional features.

@adamv adamv closed this as completed Apr 23, 2014
@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants