Repository navigation
Add sanitizer_common and ubsan from compiler-rt 8.0.0 - #8654
Conversation
tlively
left a comment
There was a problem hiding this comment.
So this is just copying compiler-rt/lib/{sanitizer_common,ubsan} wholesale with no omissions and no additions? At some point I expect we will want to make this a git submodule or similar, but I guess it makes sense to wait and see how many nonstandard modification we will need before we decide whether to upstream or fork. If we fork, it wouldn't be so important to make this a submodule.
|
There are a bunch of stuff that are omitted because they aren't used, like scripts we don't use that fails flake8, unit tests that we can't run, and the symbolizer which needs to be built with LLVM source, but otherwise, it's all the files from I can add these if you want. |
|
No, I think it makes sense to leave that stuff out 👍 @aheejin any comments? |
|
|
This does not replace the minimal ubsan. Description of what is omitted will be added in the next update to this PR. |
…e#8654) These runtimes will be made to work in emscripten-core#8651.
As requested in #8651, the upstream code is here as a separate PR, and also sourced from a production release of LLVM. This should make it easier to review.