Move nomerge attribute from function declaration/definition to callsites to
allow virtual function calls attach the attribute.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
lgtm, thanks!
clang/lib/CodeGen/CGCall.cpp | ||
---|---|---|
1988 | This is the key change, I think this is worth a comment. Now we only place LLVM nomerge attributes on call sites, never functions, and this allows them to work on indirect virtual function calls. |
This is the key change, I think this is worth a comment. Now we only place LLVM nomerge attributes on call sites, never functions, and this allows them to work on indirect virtual function calls.