Page MenuHomePhabricator

paulkirth (Paul Kirth)
User

Projects

User does not belong to any projects.

User Details

User Since
Sep 11 2018, 11:58 AM (236 w, 5 d)

Recent Activity

Fri, Mar 24

paulkirth updated the diff for D146776: [llvm] Preliminary fat-lto-objects support.

Remove intentional change to unrelated comment

Fri, Mar 24, 5:12 PM · Restricted Project, Restricted Project
paulkirth added a comment to D146771: [support] Provide overload to PrintNumber that use C++ types.

after looking at this for a bit, I think this is probably the way to go. Using a template in ScopedPrinter.h has some problems, because there are types like ulittle32_t that won't satisfy is_integral. Using conversion also has its issues, like making some calls ambiguous.

Fri, Mar 24, 4:52 PM · Restricted Project, Restricted Project
paulkirth added a comment to D146851: [support] Revise ScopedPrinter formatting tests for floats.

@abhina.sreeskantharajan would you be able to test this out on AIX?

Fri, Mar 24, 4:23 PM · Restricted Project, Restricted Project
paulkirth added a reverting change for rGfa56e362af47: [support] Temporarily disable Inf/NaN testing in PrintNumber: D146851: [support] Revise ScopedPrinter formatting tests for floats.
Fri, Mar 24, 3:56 PM · Restricted Project, Restricted Project
paulkirth added a reverting change for rG5a9bad171be5: [Support] Fix warnings: D146851: [support] Revise ScopedPrinter formatting tests for floats.
Fri, Mar 24, 3:56 PM · Restricted Project, Restricted Project
paulkirth requested review of D146851: [support] Revise ScopedPrinter formatting tests for floats.
Fri, Mar 24, 3:56 PM · Restricted Project, Restricted Project
paulkirth added a reverting change for D146834: [support] Temporarily disable Inf/NaN testing in PrintNumber: D146851: [support] Revise ScopedPrinter formatting tests for floats.
Fri, Mar 24, 3:56 PM · Restricted Project, Restricted Project
paulkirth added a comment to D146818: [support] Attempt to fix PrintNumber test for Solaris.

Sorry, I've disabled that portion of the test for now. https://reviews.llvm.org/rGfa56e362af475e0758cfb41c42f78db50da7235c. Please let me know if there are lingering issues. I'm going to try to dig in and get this working properly later today.

Fri, Mar 24, 12:06 PM · Restricted Project, Restricted Project
paulkirth committed rGfa56e362af47: [support] Temporarily disable Inf/NaN testing in PrintNumber (authored by paulkirth).
[support] Temporarily disable Inf/NaN testing in PrintNumber
Fri, Mar 24, 11:32 AM · Restricted Project, Restricted Project
paulkirth closed D146834: [support] Temporarily disable Inf/NaN testing in PrintNumber.
Fri, Mar 24, 11:32 AM · Restricted Project, Restricted Project
paulkirth added a comment to D146834: [support] Temporarily disable Inf/NaN testing in PrintNumber.

git clang-format HEAD~ formatted it that way

Fri, Mar 24, 11:31 AM · Restricted Project, Restricted Project
paulkirth updated the diff for D146834: [support] Temporarily disable Inf/NaN testing in PrintNumber.

Remove most commented out code. Specifically leaving the PrintNumber ones, since they are clear about what should be re-enabled.

Fri, Mar 24, 11:21 AM · Restricted Project, Restricted Project
paulkirth updated the diff for D146834: [support] Temporarily disable Inf/NaN testing in PrintNumber.

clang-format

Fri, Mar 24, 10:46 AM · Restricted Project, Restricted Project
paulkirth requested review of D146834: [support] Temporarily disable Inf/NaN testing in PrintNumber.
Fri, Mar 24, 10:45 AM · Restricted Project, Restricted Project
paulkirth updated the diff for D146771: [support] Provide overload to PrintNumber that use C++ types.

Fix enable_if and update getInteger to allow more unsigned types

Fri, Mar 24, 10:27 AM · Restricted Project, Restricted Project
paulkirth committed rG6d5845c5c335: [support] Attempt to fix PrintNumber test for Solaris (authored by paulkirth).
[support] Attempt to fix PrintNumber test for Solaris
Fri, Mar 24, 9:48 AM · Restricted Project, Restricted Project
paulkirth closed D146818: [support] Attempt to fix PrintNumber test for Solaris.
Fri, Mar 24, 9:48 AM · Restricted Project, Restricted Project
paulkirth added inline comments to D146771: [support] Provide overload to PrintNumber that use C++ types.
Fri, Mar 24, 9:47 AM · Restricted Project, Restricted Project
paulkirth requested review of D146818: [support] Attempt to fix PrintNumber test for Solaris.
Fri, Mar 24, 9:06 AM · Restricted Project, Restricted Project

Thu, Mar 23

paulkirth updated the diff for D146778: [lld] Preliminary fat-lot-object support.

Fix typo in test code.

Thu, Mar 23, 7:15 PM · Restricted Project, Restricted Project
paulkirth updated the diff for D146778: [lld] Preliminary fat-lot-object support.

remove unused yaml input files for testing

Thu, Mar 23, 7:08 PM · Restricted Project, Restricted Project
paulkirth added a comment to D131618: [clang][llvm][lld] FatLTO Prototype.

I've split this into smaller patch sets by project:

Thu, Mar 23, 6:05 PM · Restricted Project, Restricted Project, Restricted Project
paulkirth requested review of D146778: [lld] Preliminary fat-lot-object support.
Thu, Mar 23, 5:58 PM · Restricted Project, Restricted Project
paulkirth requested review of D146777: [clang] Preliminary fat-lot-object support.
Thu, Mar 23, 5:56 PM · Restricted Project, Restricted Project
paulkirth requested review of D146776: [llvm] Preliminary fat-lto-objects support.
Thu, Mar 23, 5:54 PM · Restricted Project, Restricted Project
paulkirth added inline comments to D146771: [support] Provide overload to PrintNumber that use C++ types.
Thu, Mar 23, 5:02 PM · Restricted Project, Restricted Project
paulkirth added inline comments to D146771: [support] Provide overload to PrintNumber that use C++ types.
Thu, Mar 23, 4:58 PM · Restricted Project, Restricted Project
paulkirth requested review of D146771: [support] Provide overload to PrintNumber that use C++ types.
Thu, Mar 23, 4:48 PM · Restricted Project, Restricted Project
paulkirth requested review of D146753: [llvm-readobj] Include section information in summary.
Thu, Mar 23, 1:11 PM · Restricted Project, Restricted Project
paulkirth committed rG8088f5bf2dc0: [support] Fix PrintNumber Test on AIX (authored by paulkirth).
[support] Fix PrintNumber Test on AIX
Thu, Mar 23, 10:49 AM · Restricted Project, Restricted Project
paulkirth closed D146739: [support] Fix PrintNumber Test on AIX.
Thu, Mar 23, 10:49 AM · Restricted Project, Restricted Project
paulkirth updated the diff for D146463: [CodeGen][RISCV] Change Shadow Call Stack Register to S11.

Restore check lines in test.

Thu, Mar 23, 10:46 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
paulkirth updated the diff for D146463: [CodeGen][RISCV] Change Shadow Call Stack Register to S11.

Remove unrelated changes, due to bad commit.

Thu, Mar 23, 10:39 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
paulkirth added a comment to D146463: [CodeGen][RISCV] Change Shadow Call Stack Register to S11.

ugh. I accidentally commited some temporary work here.

Thu, Mar 23, 10:36 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
paulkirth updated the diff for D146463: [CodeGen][RISCV] Change Shadow Call Stack Register to S11.

Address comments.

Thu, Mar 23, 10:31 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
paulkirth added a comment to D146542: [llvm][support] Fix ScopedPrinterTest on AIX.

also, forward fix in https://reviews.llvm.org/D146739

Thu, Mar 23, 10:17 AM · Restricted Project, Restricted Project
paulkirth requested review of D146739: [support] Fix PrintNumber Test on AIX.
Thu, Mar 23, 10:16 AM · Restricted Project, Restricted Project
paulkirth added a comment to D146542: [llvm][support] Fix ScopedPrinterTest on AIX.

@abhina.sreeskantharajan is there a way to test AIX things locally?

Thu, Mar 23, 10:15 AM · Restricted Project, Restricted Project
paulkirth added a comment to D146542: [llvm][support] Fix ScopedPrinterTest on AIX.

Ugh, I see this issue. I missed that the "INF/inf" discrepancy also happens for JSON output, but only changed the non-JSON test string. I should have a forward fix very soon. If that causes issues, we'll either need to revert the original patch, the 2 fixes and the HasHistogram patch, or disable the test for float/double,until we sort it out.

Thu, Mar 23, 9:51 AM · Restricted Project, Restricted Project

Wed, Mar 22

paulkirth added a comment to D146492: Add new printNumber() for size_t.

@jhenderson sure, I can set aside some time for that. I'm a bit under the weather, so it may take me a day or so to get to it, though.

Wed, Mar 22, 9:11 AM · Restricted Project, Restricted Project

Tue, Mar 21

paulkirth added a comment to D146492: Add new printNumber() for size_t.
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld" -DLLVM_ENABLE_RUNTIMES="compiler-rt" ~/llvm-project/llvm -DBUILTINS_CMAKE_ARGS=-DCOMPILER_RT_ENABLE_IOS=OFF
Tue, Mar 21, 6:10 PM · Restricted Project, Restricted Project
paulkirth added a comment to D146492: Add new printNumber() for size_t.

@junhee-yoo can you try https://reviews.llvm.org/D146544? I think that may be a good solution here, so long as @jhenderson agrees it won't run into problems w/ overflow.

I'd checked your change and I think it will work for ELFDumper.cc but in my humble opinion, calling printNumber() with size_t still have a potential problem who doesn't know about.

By the way, @paulkirth if you mind, would you tell me your Mac build env and command to me for reproducing success build? If this problem can be solved by build config, Maybe the proper way to solve this is changing build configs rather than changing the code.

Hi, sorry this is causing you a problem. I'm surprised our builders haven't picked this up. I'm also unable to reproduce this locally on a Mac or Linux machine.

Tue, Mar 21, 6:08 PM · Restricted Project, Restricted Project
paulkirth added a comment to D146492: Add new printNumber() for size_t.

@junhee-yoo you may want to try your code w/ top-of-tree again. looks like someone added some static_cast to those APIs earlier today, so you may no longer have an issue. I didn't even notice that had landed earlier when I proposed changing to uint32_t.

Tue, Mar 21, 6:01 PM · Restricted Project, Restricted Project
paulkirth added a comment to D137091: [llvm-readobj] Rename JSON Flag fields to be more consistent.

This broke some Chromium builds: https://bugs.chromium.org/p/chromium/issues/detail?id=1426287

It turns out we have a tool that consumes this JSON. Maybe that one can be made to accept the encoding both before and after this change, but there may be others.

That raises the question of what the compatibility story is here. Are we okay with breaking all consumers of this JSON?

Tue, Mar 21, 11:31 AM · Restricted Project, Restricted Project
paulkirth updated the diff for D146463: [CodeGen][RISCV] Change Shadow Call Stack Register to S11.

Split out save/restore tests for SCS into its own file

Tue, Mar 21, 10:44 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
paulkirth committed rGc819257b7f3e: [llvm][support] Fix ScopedPrinterTest on AIX (authored by paulkirth).
[llvm][support] Fix ScopedPrinterTest on AIX
Tue, Mar 21, 10:36 AM · Restricted Project, Restricted Project
paulkirth closed D146542: [llvm][support] Fix ScopedPrinterTest on AIX.
Tue, Mar 21, 10:36 AM · Restricted Project, Restricted Project
paulkirth added inline comments to D146542: [llvm][support] Fix ScopedPrinterTest on AIX.
Tue, Mar 21, 10:16 AM · Restricted Project, Restricted Project
paulkirth added a comment to D146492: Add new printNumber() for size_t.

@junhee-yoo can you try https://reviews.llvm.org/D146544? I think that may be a good solution here, so long as @jhenderson agrees it won't run into problems w/ overflow.

Tue, Mar 21, 10:08 AM · Restricted Project, Restricted Project
paulkirth requested review of D146544: [llvm-readobj][NFC] Replace size_t in HashHistogram with uint32_t.
Tue, Mar 21, 10:06 AM · Restricted Project, Restricted Project
paulkirth added a comment to D145277: [support] Support printing floats in ScopedPrinter.

fix up in D146542.

Tue, Mar 21, 9:44 AM · Restricted Project, Restricted Project
paulkirth requested review of D146542: [llvm][support] Fix ScopedPrinterTest on AIX.
Tue, Mar 21, 9:44 AM · Restricted Project, Restricted Project
paulkirth added a comment to D145277: [support] Support printing floats in ScopedPrinter.

so it looks like there are additional platform specific behaviors to how things like infinite are printed (inf vs INF, etc.). @abhina.sreeskantharajan I should be able to forward fix this fairly soon, probably in an hour(commute + meeting), but all that should be required is to adjust the test string the same way we do for max doubles/floats so that it's dynamically created and will thus match on all platforms.

Tue, Mar 21, 9:04 AM · Restricted Project, Restricted Project
paulkirth added a comment to D145277: [support] Support printing floats in ScopedPrinter.

Sorry for the trouble. looking now

Tue, Mar 21, 8:56 AM · Restricted Project, Restricted Project

Mon, Mar 20

paulkirth added inline comments to D146463: [CodeGen][RISCV] Change Shadow Call Stack Register to S11.
Mon, Mar 20, 9:23 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
paulkirth added a comment to D146492: Add new printNumber() for size_t.

Hi, sorry this is causing you a problem. I'm surprised our builders haven't picked this up. I'm also unable to reproduce this locally on a Mac or Linux machine.

Mon, Mar 20, 9:08 PM · Restricted Project, Restricted Project
paulkirth committed rG0d3f7d2ab333: [llvm-readobj] Provide Hash Histogram for all ELFDumper implementations (authored by paulkirth).
[llvm-readobj] Provide Hash Histogram for all ELFDumper implementations
Mon, Mar 20, 5:28 PM · Restricted Project, Restricted Project
paulkirth closed D137096: [llvm-readobj] Provide Hash Histogram for all ELFDumper implementations.
Mon, Mar 20, 5:28 PM · Restricted Project, Restricted Project
paulkirth committed rG89359df8ca87: [support] Support printing floats in ScopedPrinter (authored by paulkirth).
[support] Support printing floats in ScopedPrinter
Mon, Mar 20, 5:27 PM · Restricted Project, Restricted Project
paulkirth closed D145277: [support] Support printing floats in ScopedPrinter.
Mon, Mar 20, 5:26 PM · Restricted Project, Restricted Project
paulkirth updated the diff for D146463: [CodeGen][RISCV] Change Shadow Call Stack Register to S11.

Remove outdated diagnostics and add tests for SCS + save/restore.

Mon, Mar 20, 5:23 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
paulkirth added inline comments to D146463: [CodeGen][RISCV] Change Shadow Call Stack Register to S11.
Mon, Mar 20, 4:33 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
paulkirth added inline comments to D146463: [CodeGen][RISCV] Change Shadow Call Stack Register to S11.
Mon, Mar 20, 4:13 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
paulkirth updated the diff for D146463: [CodeGen][RISCV] Change Shadow Call Stack Register to S11.

Fix comment and add FIXME

Mon, Mar 20, 4:12 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
paulkirth requested review of D146463: [CodeGen][RISCV] Change Shadow Call Stack Register to S11.
Mon, Mar 20, 3:08 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
paulkirth updated the diff for D145277: [support] Support printing floats in ScopedPrinter.

Update test to avoid implementation specific output.

Mon, Mar 20, 1:51 PM · Restricted Project, Restricted Project

Fri, Mar 17

paulkirth updated the diff for D137096: [llvm-readobj] Provide Hash Histogram for all ELFDumper implementations.
  • fix comment string for /*IsGnu=*/
Fri, Mar 17, 8:45 PM · Restricted Project, Restricted Project
paulkirth committed rG14f292d00e26: [llvm-readobj] Output valid JSON for GroupSections (authored by paulkirth).
[llvm-readobj] Output valid JSON for GroupSections
Fri, Mar 17, 8:14 PM · Restricted Project, Restricted Project
paulkirth closed D137095: [llvm-readobj] Output valid JSON for GroupSections.
Fri, Mar 17, 8:14 PM · Restricted Project, Restricted Project
paulkirth updated the diff for D145277: [support] Support printing floats in ScopedPrinter.

Address comments.

Fri, Mar 17, 8:12 PM · Restricted Project, Restricted Project
paulkirth updated the diff for D137095: [llvm-readobj] Output valid JSON for GroupSections.

Rebase

Fri, Mar 17, 7:15 PM · Restricted Project, Restricted Project
paulkirth updated the diff for D137095: [llvm-readobj] Output valid JSON for GroupSections.

arc diff git merge-base HEAD origin --update D137095

Fri, Mar 17, 7:09 PM · Restricted Project, Restricted Project
paulkirth updated the diff for D137095: [llvm-readobj] Output valid JSON for GroupSections.

Fix Rebase

Fri, Mar 17, 7:08 PM · Restricted Project, Restricted Project
paulkirth updated the diff for D137095: [llvm-readobj] Output valid JSON for GroupSections.
  • remove const qualifiers from StringRef
Fri, Mar 17, 6:58 PM · Restricted Project, Restricted Project
paulkirth committed rG681d5eecf7b3: [llvm-readobj] Fix "Section" output when emitting relocations in JSON (authored by paulkirth).
[llvm-readobj] Fix "Section" output when emitting relocations in JSON
Fri, Mar 17, 6:36 PM · Restricted Project, Restricted Project
paulkirth closed D137094: [llvm-readobj] Fix "Section" output when emitting relocations in JSON.
Fri, Mar 17, 6:36 PM · Restricted Project, Restricted Project
paulkirth updated the diff for D137094: [llvm-readobj] Fix "Section" output when emitting relocations in JSON.

Add missing blank line.

Fri, Mar 17, 5:42 PM · Restricted Project, Restricted Project
paulkirth updated the diff for D137094: [llvm-readobj] Fix "Section" output when emitting relocations in JSON.

Add back funcion removed when rebasing

Fri, Mar 17, 5:33 PM · Restricted Project, Restricted Project
paulkirth updated the diff for D137094: [llvm-readobj] Fix "Section" output when emitting relocations in JSON.

Rebase and remove const qualifier from StringRef.

Fri, Mar 17, 5:27 PM · Restricted Project, Restricted Project
paulkirth updated the diff for D137094: [llvm-readobj] Fix "Section" output when emitting relocations in JSON.

Add missing blank line between functions.

Fri, Mar 17, 5:07 PM · Restricted Project, Restricted Project
paulkirth committed rG93c1a5f3ddd4: [llvm-readobj] Rename JSON Flag fields to be more consistent (authored by paulkirth).
[llvm-readobj] Rename JSON Flag fields to be more consistent
Fri, Mar 17, 5:05 PM · Restricted Project, Restricted Project
paulkirth closed D137091: [llvm-readobj] Rename JSON Flag fields to be more consistent.
Fri, Mar 17, 5:05 PM · Restricted Project, Restricted Project
paulkirth committed rG23fd6e360c2c: [llvm-readobj] Fix JSON output for Relocations (authored by paulkirth).
[llvm-readobj] Fix JSON output for Relocations
Fri, Mar 17, 4:58 PM · Restricted Project, Restricted Project
paulkirth closed D137089: [llvm-readobj] Fix JSON output for Relocations.
Fri, Mar 17, 4:58 PM · Restricted Project, Restricted Project
paulkirth updated the diff for D137089: [llvm-readobj] Fix JSON output for Relocations.

Rebase

Fri, Mar 17, 4:50 PM · Restricted Project, Restricted Project
paulkirth updated the diff for D137089: [llvm-readobj] Fix JSON output for Relocations.

Address comments.

Fri, Mar 17, 4:46 PM · Restricted Project, Restricted Project
paulkirth committed rG8e1746faa357: [llvm-readobj] Standardize JSON output for `Other` field (authored by paulkirth).
[llvm-readobj] Standardize JSON output for `Other` field
Fri, Mar 17, 4:39 PM · Restricted Project, Restricted Project
paulkirth closed D137088: [llvm-readobj] Standardize JSON output for `Other` field.
Fri, Mar 17, 4:38 PM · Restricted Project, Restricted Project
paulkirth updated the diff for D137088: [llvm-readobj] Standardize JSON output for `Other` field.

Add comment about the rationale for how we handle JSON output.

Fri, Mar 17, 4:36 PM · Restricted Project, Restricted Project
paulkirth committed rG552b1b3c44d1: [llvm-readobj] Use a helper to extract the Other Flags from symbols (authored by paulkirth).
[llvm-readobj] Use a helper to extract the Other Flags from symbols
Fri, Mar 17, 4:30 PM · Restricted Project, Restricted Project
paulkirth closed D137092: [llvm-readobj] Use a helper to extract the Other Flags from symbols.
Fri, Mar 17, 4:30 PM · Restricted Project, Restricted Project

Wed, Mar 15

paulkirth committed rGade336d6e141: [codegen][riscv] Emit CFI directives when using shadow call stack (authored by paulkirth).
[codegen][riscv] Emit CFI directives when using shadow call stack
Wed, Mar 15, 10:10 AM · Restricted Project, Restricted Project
paulkirth closed D145205: [codegen][riscv] Emit CFI directives when using shadow call stack.
Wed, Mar 15, 10:10 AM · Restricted Project, Restricted Project

Thu, Mar 9

paulkirth added inline comments to D145205: [codegen][riscv] Emit CFI directives when using shadow call stack.
Thu, Mar 9, 9:57 AM · Restricted Project, Restricted Project
paulkirth updated the diff for D145205: [codegen][riscv] Emit CFI directives when using shadow call stack.

Address comments

Thu, Mar 9, 9:56 AM · Restricted Project, Restricted Project

Wed, Mar 8

paulkirth updated the diff for D131618: [clang][llvm][lld] FatLTO Prototype.

Minor update to tests.

Wed, Mar 8, 4:47 PM · Restricted Project, Restricted Project, Restricted Project
paulkirth added a comment to D145205: [codegen][riscv] Emit CFI directives when using shadow call stack.

@jrtc27 @asb Any feedback on this? I'd like to land it, but wanted RISC-V maintainers to take a look. If there are no objections, I'll land this tomorrow.

Wed, Mar 8, 1:52 PM · Restricted Project, Restricted Project
paulkirth added inline comments to D137096: [llvm-readobj] Provide Hash Histogram for all ELFDumper implementations.
Wed, Mar 8, 9:45 AM · Restricted Project, Restricted Project

Tue, Mar 7

paulkirth updated the diff for D137096: [llvm-readobj] Provide Hash Histogram for all ELFDumper implementations.

Address comments.

Tue, Mar 7, 2:46 PM · Restricted Project, Restricted Project
paulkirth added a comment to D143422: [LV] Update logic for calculating register usage due to invariants.

Thanks for the fix. That change looks good to me. Its unfortunate that we can express that ordering is unimportant in lit for some range of code. The only reason I found the issue here was that I had a similar problem when testing stack layout analysis, and never updated my build flags.

Tue, Mar 7, 10:27 AM · Restricted Project, Restricted Project