-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Non-compliant (as far as I can tell) ValueMap allocator when using boehm #1288
Comments
Does it work if you do the |
I haven't tried yet but I think @LnL7 is in a good position to try patching on the fly. Unfortunately it's behind a major LLVM+clang rebuild so it'll take me a while to get there 😄 |
I tried with |
Are you sure the change was picked up? That error clearly shows a |
You are right, it's in a different file for |
@LnL7 Can you submit a PR to |
Right now, we have
typedef std::map<Symbol, Value *, std::less<Symbol>, gc_allocator<Value *> > ValueMap;
According to the official requirements, this is how it should look:
Note that the allocator needs to be for a
std::pair
rather than just the value type. I think it should be a fairly simple fix, but it currently breaks with clang + libc++ 4, which are more strict about this sort of thing than they've been in the past.cc @edolstra @shlevy @LnL7
The text was updated successfully, but these errors were encountered: