-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[compiler-rt] replicate changes from llvm/ProfileData/InstrProfData.inc #143574
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that we can merge this for now, but we will need to revisit this. I'm not sure that we want to have this copy dllimport symbols from within LLVM.
Where exactly does |
It doesn't; it is relying on picking it up from llvm/include/Support/Compiler.h. @boomanaiden154 if you don't think this is a good idea, or is incorrect, I am happy to revert this change along with the change to the file it is duped from, llvm\ProfileData\InstrProfData.inc. |
@boomanaiden154 this is basically just to appease the diff check; the dll annotations aren't being applied to the profile runtime. I don't think that the profile runtime should be exposing these interfaces ever (the runtime's ABI is a pure C interface). |
And that's getting pulled into the
Yeah, I got that this was to appease the diff check. I agree it doesn't make sense to export them from the runtime given it's always (?) statically linked and a pure C interface. Having |
…nc (llvm#143574) ## Purpose The compiler-rt project `check-same-common-code.test` test case started failing after llvm#142861 was merged. This change addresses the failure. ## Overview This patch replicates the changes made by llvm#142861 to llvm/include/llvm/ProfileData/InstrProfData.inc in the duplicated file compiler-rt/include/profile/InstrProfData.inc. These files otherwise match. ## Validation Locally built `check-profile` target and verified `check-same-common-code.test` now passes.
…nc (llvm#143574) ## Purpose The compiler-rt project `check-same-common-code.test` test case started failing after llvm#142861 was merged. This change addresses the failure. ## Overview This patch replicates the changes made by llvm#142861 to llvm/include/llvm/ProfileData/InstrProfData.inc in the duplicated file compiler-rt/include/profile/InstrProfData.inc. These files otherwise match. ## Validation Locally built `check-profile` target and verified `check-same-common-code.test` now passes.
Purpose
The compiler-rt project
check-same-common-code.test
test case started failing after #142861 was merged. This change addresses the failure.Overview
This patch replicates the changes made by #142861 to llvm/include/llvm/ProfileData/InstrProfData.inc in the duplicated file compiler-rt/include/profile/InstrProfData.inc. These files otherwise match.
Validation
Locally built
check-profile
target and verifiedcheck-same-common-code.test
now passes.