Page MenuHomePhabricator
Feed Advanced Search

Mon, Sep 16

sidneym added a comment to D67605: [ELF][Hexagon] Allow PT_LOAD to have overlapping p_offset ranges on EM_HEXAGON.

LGTM

Mon, Sep 16, 10:37 AM · Restricted Project

Fri, Aug 30

sidneym committed rGaa0e8f96f2d6: [llvm-nm] Small fix to Exected<StringRef> (authored by sidneym).
[llvm-nm] Small fix to Exected<StringRef>
Fri, Aug 30, 7:15 AM
sidneym committed rL370474: [llvm-nm] Small fix to Exected<StringRef>.
[llvm-nm] Small fix to Exected<StringRef>
Fri, Aug 30, 7:15 AM
sidneym closed D66976: Small update to Expected<StringRef>.
Fri, Aug 30, 7:15 AM · Restricted Project

Thu, Aug 29

sidneym created D66976: Small update to Expected<StringRef>.
Thu, Aug 29, 3:13 PM · Restricted Project

Thu, Aug 22

sidneym added a comment to D66542: R_HEX_B15_PCREL_X/R_HEX_B9_PCREL_X can be in shared objects.

Generally, the non-extended branch relocations are never found in objects but one could manually generate them. The rules work like this:

  • if (p0) jump external // The assembler picks the relocation, either R_HEX_B15_PCREL or R_HEX_B15_PCREL_X in practice when the label is external it will pick the _X version
  • if (p0) jump #external // The programmer says I want the non-extended version, R_HEX_B15_PCREL will be used.
  • if (p0) jump ##external // The programmer says I want the extended version, R_HEX_B15_PCREL_X will be used.
Thu, Aug 22, 9:06 AM · Restricted Project
sidneym updated the diff for D66542: R_HEX_B15_PCREL_X/R_HEX_B9_PCREL_X can be in shared objects.

I accidentally moved R_HEX_6_PCREL_X, I only intended to update R_HEX_B15_PCREL_X/R_HEX_B9_PCREL_X.

Thu, Aug 22, 8:33 AM · Restricted Project

Wed, Aug 21

sidneym created D66542: R_HEX_B15_PCREL_X/R_HEX_B9_PCREL_X can be in shared objects.
Wed, Aug 21, 10:03 AM · Restricted Project

Mon, Aug 19

sidneym added a comment to D66274: [ELF][Hexagon] Replace R_HEXAGON_GOT with R_GOTPLT.

Nice! Thank you for doing this.

The remaining bits of RelExpr are a scarce recourse now... R_RISCV_PC_INDIRECT == 61. @sidneym Do you need more than 3 bits?

Mon, Aug 19, 12:11 PM · Restricted Project
sidneym accepted D66275: [ELF][Hexagon] Improve error message for unknown relocations.
Mon, Aug 19, 6:50 AM · Restricted Project
sidneym committed rGa0a4c6b7224e: [lld][Hexagon] Add GOTREL relocations. (authored by sidneym).
[lld][Hexagon] Add GOTREL relocations.
Mon, Aug 19, 6:32 AM
sidneym committed rL369258: [lld][Hexagon] Add GOTREL relocations..
[lld][Hexagon] Add GOTREL relocations.
Mon, Aug 19, 6:32 AM
sidneym closed D66260: [lld][Hexagon] Add GOTREL relocations.
Mon, Aug 19, 6:32 AM · Restricted Project, lld

Aug 16 2019

sidneym accepted D66274: [ELF][Hexagon] Replace R_HEXAGON_GOT with R_GOTPLT.
Aug 16 2019, 9:35 AM · Restricted Project
sidneym committed rG2d3ebeb81395: [lld][Hexagon]Support HEX_32 when building shared objects (authored by sidneym).
[lld][Hexagon]Support HEX_32 when building shared objects
Aug 16 2019, 8:35 AM
sidneym committed rL369121: [lld][Hexagon]Support HEX_32 when building shared objects.
[lld][Hexagon]Support HEX_32 when building shared objects
Aug 16 2019, 8:35 AM
sidneym closed D66105: Support HEX_32 when building shared objects.
Aug 16 2019, 8:35 AM · Restricted Project, lld

Aug 15 2019

sidneym added inline comments to D66274: [ELF][Hexagon] Replace R_HEXAGON_GOT with R_GOTPLT.
Aug 15 2019, 3:41 PM · Restricted Project
sidneym added inline comments to D66274: [ELF][Hexagon] Replace R_HEXAGON_GOT with R_GOTPLT.
Aug 15 2019, 3:29 PM · Restricted Project
sidneym added inline comments to D66274: [ELF][Hexagon] Replace R_HEXAGON_GOT with R_GOTPLT.
Aug 15 2019, 9:24 AM · Restricted Project
sidneym added a comment to D66260: [lld][Hexagon] Add GOTREL relocations.

Where can we find a psABI describing these relocation types?

Aug 15 2019, 8:03 AM · Restricted Project, lld
sidneym updated the diff for D66260: [lld][Hexagon] Add GOTREL relocations.

Update filenames in testcase.

Aug 15 2019, 7:16 AM · Restricted Project, lld

Aug 14 2019

sidneym created D66260: [lld][Hexagon] Add GOTREL relocations.
Aug 14 2019, 4:16 PM · Restricted Project, lld

Aug 12 2019

sidneym added a reviewer for D66105: Support HEX_32 when building shared objects: shankare.
Aug 12 2019, 12:45 PM · Restricted Project, lld
sidneym created D66105: Support HEX_32 when building shared objects.
Aug 12 2019, 12:41 PM · Restricted Project, lld

May 8 2019

sidneym accepted D61130: [llvm-mc] Add reportWarning() to MCContext.

LGTM

May 8 2019, 8:11 AM · Restricted Project, Restricted Project

May 3 2019

sidneym committed rG5ad18a7d5941: Let --discard-all imply --strip-debug. (authored by sidneym).
Let --discard-all imply --strip-debug.
May 3 2019, 7:12 AM
sidneym committed rL359887: Let --discard-all imply --strip-debug..
Let --discard-all imply --strip-debug.
May 3 2019, 7:12 AM
sidneym closed D61092: [llvm-strip] Have --discard-all imply --strip-debug.
May 3 2019, 7:12 AM · Restricted Project

May 1 2019

sidneym accepted D61309: [clang] Add no-warn support for Wa.
May 1 2019, 12:18 PM · Restricted Project

Apr 26 2019

sidneym updated the diff for D61092: [llvm-strip] Have --discard-all imply --strip-debug.

Make llvm-objcopy behave the same way strip does wrt --discard-all. Update testcase

Apr 26 2019, 12:26 PM · Restricted Project
sidneym added inline comments to D61092: [llvm-strip] Have --discard-all imply --strip-debug.
Apr 26 2019, 12:21 PM · Restricted Project

Apr 25 2019

sidneym updated the diff for D61092: [llvm-strip] Have --discard-all imply --strip-debug.

Update testcase.

Apr 25 2019, 9:45 AM · Restricted Project
sidneym added inline comments to D61092: [llvm-strip] Have --discard-all imply --strip-debug.
Apr 25 2019, 7:32 AM · Restricted Project

Apr 24 2019

sidneym added a reviewer for D61092: [llvm-strip] Have --discard-all imply --strip-debug: bcain.
Apr 24 2019, 2:06 PM · Restricted Project
sidneym created D61092: [llvm-strip] Have --discard-all imply --strip-debug.
Apr 24 2019, 2:04 PM · Restricted Project

Apr 16 2019

sidneym added inline comments to D60376: [llvm-objdump] Align instructions to a tab stop in disassembly output.
Apr 16 2019, 9:07 AM · Restricted Project

Apr 10 2019

sidneym added a comment to D50254: [RFC] Add GDB remote packet reproducer..

I'm having some trouble with the test case. Based on the initialization code I assume I'm not supposed to destroy the SBDebugger singleton shared by the LLDB test suite. If I do it anyway the test crashes with the an exception:

libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: recursive_mutex lock failed: Invalid argument
Apr 10 2019, 9:23 AM

Feb 1 2019

sidneym committed rL352900: [llvm-objdump] - llvm-objdump can skip bytes at the end of a section..
[llvm-objdump] - llvm-objdump can skip bytes at the end of a section.
Feb 1 2019, 11:11 AM
sidneym closed D57549: [llvm-objdump] - llvm-objdump can miss printing bytes at the end of a section..
Feb 1 2019, 11:11 AM · Restricted Project
sidneym updated the diff for D57549: [llvm-objdump] - llvm-objdump can miss printing bytes at the end of a section..

Updated the testcase.

Feb 1 2019, 7:42 AM · Restricted Project

Jan 31 2019

sidneym created D57549: [llvm-objdump] - llvm-objdump can miss printing bytes at the end of a section..
Jan 31 2019, 2:49 PM · Restricted Project

Jan 16 2019

sidneym accepted D56808: [llvm-readobj] Fix hexdump test.
Jan 16 2019, 4:07 PM
sidneym added a comment to D56369: [SanitizerCoverage][NFC] Use appendToUsed instead of include.

Unrelated to this change, I made an error in my commit message for: r351356
referring to this review instead of https://reviews.llvm.org/D56726. Sorry for any confusion this may cause.

Jan 16 2019, 8:32 AM
sidneym closed D56726: Include section start address when dumping hexadecimal output of a section, -x option.q.

I made an error in the commit message, referring to: https://reviews.llvm.org/D56369 instead of this URL: https://reviews.llvm.org/D56726

Jan 16 2019, 8:30 AM
sidneym committed rL351356: [llvm-readobj] Set correct offset when dumping hex section output..
[llvm-readobj] Set correct offset when dumping hex section output.
Jan 16 2019, 8:21 AM
sidneym added a comment to D56726: Include section start address when dumping hexadecimal output of a section, -x option.q.

Yes, Section.getAddress() returns zero for object files.

Jan 16 2019, 8:18 AM

Jan 15 2019

sidneym updated the diff for D56726: Include section start address when dumping hexadecimal output of a section, -x option.q.

Include full context

Jan 15 2019, 9:13 AM
sidneym added reviewers for D56726: Include section start address when dumping hexadecimal output of a section, -x option.q: bcain, kparzysz.
Jan 15 2019, 8:27 AM
sidneym created D56726: Include section start address when dumping hexadecimal output of a section, -x option.q.
Jan 15 2019, 8:09 AM

Dec 12 2018

sidneym added a comment to D55329: [llvm-readobj] Little clean up inside `parseDynamicTable`.

FWIW: The check you mention in ELF.cpp is triggered by the following test script. This causes llvm-readelf to generate an unexpected error message, LLVM ERROR: Virtual address is not in any segment

Dec 12 2018, 3:06 PM

Dec 11 2018

sidneym committed rL348859: [llvm-readelf] Add -e/--headers support to readobj/elf.
[llvm-readelf] Add -e/--headers support to readobj/elf
Dec 11 2018, 8:18 AM
sidneym closed D55298: [llvm-readelf] Add -e/--headers support to readobj/elf.
Dec 11 2018, 8:18 AM

Dec 7 2018

sidneym updated the diff for D55298: [llvm-readelf] Add -e/--headers support to readobj/elf.

Output each option test result to different files and verify that each of the files contains identical content.

Dec 7 2018, 9:24 AM

Dec 6 2018

sidneym updated the diff for D55298: [llvm-readelf] Add -e/--headers support to readobj/elf.

Updated the patch to include full context.

Dec 6 2018, 8:12 AM
sidneym added a comment to D55298: [llvm-readelf] Add -e/--headers support to readobj/elf.

Full context? I use git format-patch -1 and upload the file it produces.

Dec 6 2018, 5:57 AM

Dec 5 2018

sidneym updated the diff for D55298: [llvm-readelf] Add -e/--headers support to readobj/elf.
Dec 5 2018, 8:55 AM
sidneym added inline comments to D55298: [llvm-readelf] Add -e/--headers support to readobj/elf.
Dec 5 2018, 8:41 AM

Dec 4 2018

sidneym updated the diff for D55298: [llvm-readelf] Add -e/--headers support to readobj/elf.

Change JustHeaders to AllHeaders

Dec 4 2018, 3:39 PM
sidneym created D55298: [llvm-readelf] Add -e/--headers support to readobj/elf.
Dec 4 2018, 2:53 PM

Oct 16 2018

sidneym created D53327: [Hexagon] Use -fuse-ld update checks..
Oct 16 2018, 9:13 AM

Oct 15 2018

sidneym committed rL344518: [ELF][HEXAGON] Let input determine e_flag..
[ELF][HEXAGON] Let input determine e_flag.
Oct 15 2018, 7:47 AM
sidneym committed rLLD344518: [ELF][HEXAGON] Let input determine e_flag..
[ELF][HEXAGON] Let input determine e_flag.
Oct 15 2018, 7:46 AM
sidneym closed D53204: [ELF] [HEXAGON] Let input determine ELF header e_flags.
Oct 15 2018, 7:46 AM

Oct 14 2018

sidneym updated the diff for D53204: [ELF] [HEXAGON] Let input determine ELF header e_flags.

Add testcase

Oct 14 2018, 6:35 PM
sidneym added a comment to D53249: Force Hexagon to use default (hexagon-link) linker.

https://reviews.llvm.org/D53219 added a check for either hexagon-ld or ld. I merged that change earlier today. I can change the test to pass -fuse-ld, let me know. Thanks,

Oct 14 2018, 6:12 PM
sidneym committed rC344482: [Hexagon] Update tests account for non-hardcoded linker name..
[Hexagon] Update tests account for non-hardcoded linker name.
Oct 14 2018, 10:54 AM
sidneym committed rL344482: [Hexagon] Update tests account for non-hardcoded linker name..
[Hexagon] Update tests account for non-hardcoded linker name.
Oct 14 2018, 10:53 AM
sidneym closed D53219: Update hexagon driver tests.
Oct 14 2018, 10:53 AM

Oct 12 2018

sidneym updated the diff for D53204: [ELF] [HEXAGON] Let input determine ELF header e_flags.

Update following Rui's suggestions.

Oct 12 2018, 2:50 PM
sidneym added a comment to D53038: [Hexagon] Use GetLinkerPath method instead of hard-coded linker name..

I updated the tests: https://reviews.llvm.org/D53219

Oct 12 2018, 2:29 PM
sidneym created D53219: Update hexagon driver tests.
Oct 12 2018, 2:28 PM
sidneym added a comment to D53038: [Hexagon] Use GetLinkerPath method instead of hard-coded linker name..

Seems like the test cases do not consider the possibility of CLANG_DEFAULT_LINKER being set. If CLANG_DEFAULT_LINKER was set to "hexagon-link" these tests would probably pass.

Oct 12 2018, 10:34 AM
sidneym added reviewers for D53204: [ELF] [HEXAGON] Let input determine ELF header e_flags: ruiu, shankare, kparzysz, bcain.
Oct 12 2018, 9:46 AM
sidneym created D53204: [ELF] [HEXAGON] Let input determine ELF header e_flags.
Oct 12 2018, 9:45 AM

Oct 10 2018

sidneym committed rL344147: [Hexagon] Use GetLinkerPath instead of hard-coded string..
[Hexagon] Use GetLinkerPath instead of hard-coded string.
Oct 10 2018, 8:41 AM
sidneym committed rC344147: [Hexagon] Use GetLinkerPath instead of hard-coded string..
[Hexagon] Use GetLinkerPath instead of hard-coded string.
Oct 10 2018, 8:41 AM
sidneym closed D53038: [Hexagon] Use GetLinkerPath method instead of hard-coded linker name..
Oct 10 2018, 8:41 AM

Oct 9 2018

sidneym created D53038: [Hexagon] Use GetLinkerPath method instead of hard-coded linker name..
Oct 9 2018, 1:21 PM

Oct 8 2018

sidneym added a comment to D52909: Add R_HEX_GOT_16_X support.

No this isn't, I'd like to add TLS support. I'm also sure some additional relocations will be required (beyond the TLS ones).

Oct 8 2018, 11:32 AM
sidneym committed rLLD343972: [ELF][HEXAGON] Add R_HEX_GOT_16_X support.
[ELF][HEXAGON] Add R_HEX_GOT_16_X support
Oct 8 2018, 8:38 AM
sidneym committed rL343972: [ELF][HEXAGON] Add R_HEX_GOT_16_X support.
[ELF][HEXAGON] Add R_HEX_GOT_16_X support
Oct 8 2018, 8:34 AM
sidneym closed D52909: Add R_HEX_GOT_16_X support.
Oct 8 2018, 8:34 AM

Oct 4 2018

sidneym created D52909: Add R_HEX_GOT_16_X support.
Oct 4 2018, 3:25 PM
sidneym committed rLLD343784: [ELF][HEXAGON] Add support for GOT relocations..
[ELF][HEXAGON] Add support for GOT relocations.
Oct 4 2018, 7:56 AM
sidneym committed rL343784: [ELF][HEXAGON] Add support for GOT relocations..
[ELF][HEXAGON] Add support for GOT relocations.
Oct 4 2018, 7:56 AM
sidneym closed D52744: Add support for GOT relocation support to Hexagon.
Oct 4 2018, 7:56 AM

Oct 2 2018

sidneym added a comment to D52744: Add support for GOT relocation support to Hexagon.

This is the link:
https://developer.qualcomm.com/download/hexagon/hexagon-application-binary-interface-specification.zip

Oct 2 2018, 9:48 AM
sidneym added inline comments to D52744: Add support for GOT relocation support to Hexagon.
Oct 2 2018, 8:06 AM

Oct 1 2018

sidneym created D52744: Add support for GOT relocation support to Hexagon.
Oct 1 2018, 1:32 PM
sidneym committed rL343515: [ELF] [HEXAGON] Add support for PLT_B22_PCREL and HEX_32_PCREL.
[ELF] [HEXAGON] Add support for PLT_B22_PCREL and HEX_32_PCREL
Oct 1 2018, 11:29 AM
sidneym committed rLLD343515: [ELF] [HEXAGON] Add support for PLT_B22_PCREL and HEX_32_PCREL.
[ELF] [HEXAGON] Add support for PLT_B22_PCREL and HEX_32_PCREL
Oct 1 2018, 11:29 AM
sidneym closed D52734: Add R_HEX_PLT_B22_PCREL and R_HEX_32_PCREL relocation support.
Oct 1 2018, 11:29 AM
sidneym created D52734: Add R_HEX_PLT_B22_PCREL and R_HEX_32_PCREL relocation support.
Oct 1 2018, 10:11 AM

Sep 28 2018

sidneym committed rLLD343320: [ELF][HEXAGON] Add support for dynamic libraries.
[ELF][HEXAGON] Add support for dynamic libraries
Sep 28 2018, 7:11 AM
sidneym committed rL343320: [ELF][HEXAGON] Add support for dynamic libraries.
[ELF][HEXAGON] Add support for dynamic libraries
Sep 28 2018, 7:11 AM
sidneym closed D52317: Add support for dynamic libraries on Hexagon.
Sep 28 2018, 7:10 AM

Sep 27 2018

sidneym added inline comments to D52317: Add support for dynamic libraries on Hexagon.
Sep 27 2018, 2:21 PM
sidneym added inline comments to D52317: Add support for dynamic libraries on Hexagon.
Sep 27 2018, 12:57 PM
sidneym updated the diff for D52317: Add support for dynamic libraries on Hexagon.

Remove the blank line
Put a trap into the gap between the PLT header and plt0.
Update testcase

Sep 27 2018, 12:47 PM