User Details
- User Since
- Jun 28 2017, 5:32 PM (325 w, 12 h)
Thu, Aug 31
Wed, Aug 30
Aug 17 2023
Rebased over https://reviews.llvm.org/D158122. Addressed the comments on the test code.
Aug 16 2023
Moved the test to test/CodeGen and removed the -filetype=asm flag.
Aug 14 2023
Updated to treat all private linkage symbols as internal and add them to the symbol table, as Reid suggested. This fixes the issue with private linkage and the swift issue.
Aug 4 2023
Aug 3 2023
Jul 31 2023
Please take another look. @efriedma
Jul 27 2023
Jul 26 2023
Jul 24 2023
Update to address comments.
Jul 22 2023
Please take another look.
Can you clarify? Does it mean that we need to check A.isInSection() && Layout.getSymbolOffset(A) < getSectionAddressSize(&A.getSection()) before we create a new symbol at where symbol A is? What should happen if that's not the case?
Something like that, yes. If it fails, we need to print an error, because we don't have any way to encode it. At least, I don't think we have a way to encode it? Not sure off the top of my head what offsets the linker would tolerate.
Updated the revision with the better test and changes per review comments.
Jul 21 2023
Jul 20 2023
You can't create symbols at arbitrary offsets from the start of a section; you need to check that the symbol actually points somewhere within the section.
There's a bunch of code for A.isTemporary() a few lines earlier; would it make sense to integrate with that? This is sort of similar to what we do with OffsetSymbols, except the maximum offset is zero.
We should teach adjustFixupValue() in AArch64AsmBackend.cpp to print an error if an unresolved branch with an offset gets there somehow.
The attach text file contains a test (*) and the command line trace that shows the relocation behaviors (without this patch) in the first half, and the same sequence of commands with this patch in the second half.
Jul 19 2023
Jul 12 2023
Added a CHECK-NOT.
Jul 11 2023
May 20 2023
May 12 2023
May 11 2023
Apr 17 2023
Jun 14 2021
Late to this, but LGTM.
Mar 11 2021
Mar 4 2021
Address comment.
Mar 1 2021
Okay added a new test.
Address comment.
Feb 26 2021
Jan 14 2021
Jan 11 2021
Jan 7 2021
Jan 6 2021
Dec 15 2020
D93281 looks good to me.
Dec 14 2020
I can add "cl::ZeroOrMore" to "-vp-counters-per-site". Would it be good?
Dec 11 2020
Dec 10 2020
Dec 9 2020
Adjust only for dynamic linking mode. Rebase.
Dec 7 2020
Dec 4 2020
Address comment.
https://reviews.llvm.org/D92669 should fix the issue.
Uploaded https://reviews.llvm.org/D92599
Dec 3 2020
Dec 2 2020
Hi, we encountered this issue https://bugs.llvm.org/show_bug.cgi?id=48055 which reverting this patch seems to make it go away.
Oct 15 2020
Oct 14 2020
This is with clang trying to PGO itself. Build with -DLLVM_BUILD_INSTRUMENTED=IR -DLLVM_BUILD_RUNTIME=No and use the result to build the LLVM tree again.
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=318445929&repo=ash&lineNumber=17322
Oct 5 2020
Update the patch description.
Sep 14 2020
I'm not familiar with the history of this file well, but I had the same impression: it'd be nice if there's a single copy but since compiler-rt is set up to build without depending on llvm/, it's in the way it is currently.
Sep 9 2020
Rebase.