Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/swiftwasm/swift-llvm

This repository is no longer in use, please refer to the LLVM monorepo https://github.com/swiftwasm/llvm-project
https://github.com/swiftwasm/swift-llvm

Fix MCWasmStreamer.cpp after merge conflict

25e97485dd0385210f3b6695236d9bde5a301387 authored about 5 years ago by Max Desiatov <[email protected]>
WebAssembly: pad __clangast section to 4 bytes

Like Patcheng's https://reviews.llvm.org/D42233 but for Custom Sections instead

padding for the...

f4445accb7c988718073c637ccaee5b46ca79249 authored about 5 years ago by Zhuowei Zhang <[email protected]>
write Clang precompiled headers to a custom section

This doesn't fix the alignment issue yet.

See https://bugs.llvm.org/show_bug.cgi?id=35928 and
h...

662f79af85fc63be21d454d610d1c2dc2ce614b1 authored about 5 years ago by Zhuowei Zhang <[email protected]>
WebAssembly: attempt to fix non-SymbolExpr relocations

Also try hard to extract a symbol from a MCExpr when writing relocations

I doubt this is the ri...

e5a77982562068d7d47e81f988eeb091ddc69ac1 authored about 5 years ago by Zhuowei Zhang <[email protected]>
Revert "WebAssembly: add logging when I get a BinaryExpr"

Don't need the logging anymore

This reverts commit 8b8f31fc13c02ad26ff1ef0c211753e8d339487f.

0ed50bf80bc5c6e553ee2f03491a429902922eaf authored about 5 years ago by Zhuowei Zhang <[email protected]>
WebAssembly: add logging when I get a BinaryExpr

I actually do need to know what's breaking.

0c8f940c5f50e05476108bb9dd39e92a110b5bc3 authored about 5 years ago by Zhuowei Zhang <[email protected]>
WebAssembly: properly handle MCBinaryExpr in aliased symbols

Swift uses aliased symbols to refer to offsets within metadata structures.

eg

```
@"$s12SwiftP...

d7a9e68a70c6229e698f19ec025232441180d6cf authored about 5 years ago by Zhuowei Zhang <[email protected]>
WebAssembly: enable Swift calling convention in ISelLowering, ignore hot/cold split directives

3b0b6ef667a50ba76f9efc77d7ef8cdcb2b50b94 authored about 5 years ago by Zhuowei Zhang <[email protected]>
Merge remote-tracking branch 'origin/apple/stable/20190619' into stable

f4c2b4eca6f7f7221da91ab172bc16dc08cd5684 authored about 5 years ago by swift_jenkins <[email protected]>
[dsymutil] Support and relocate base address selection entries for debug_loc

Since r374600 clang emits base address selection entries. Currently
dsymutil does not support th...

bbec568f9f7aae5c3af01d7b1d2698ed842e011d authored about 5 years ago by Jonas Devlieghere <[email protected]>
Merge remote-tracking branch 'origin/apple/stable/20190619' into stable

854499992118cc63c4c55be8175bf09319fd21e0 authored about 5 years ago by swift_jenkins <[email protected]>
Fix some undefined behavior (excessive shift of signed value) in r364253 detected by ubsan

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364461 91177308-0d34-0410-b5e6-96231b3b...

c9d67436859e1dd11aee4f3b35dce33cc28005d1 authored about 5 years ago by David Blaikie <[email protected]>
Merge remote-tracking branch 'origin/apple/stable/20190619' into stable

6e04008c7fded8f5f3a9978620d5c54069ab5cc2 authored about 5 years ago by swift_jenkins <[email protected]>
Merge pull request #175 from JDevlieghere/cherrypick/dsymutil

Cherrypick upstream dsymutil changes.

9128f33a671253d5767c0f827a13f0be507bbd2d authored about 5 years ago by Jonas Devlieghere <[email protected]>
[dsymutil] Move CommonSymbols.clear() in resetParserState.

This seems like a more natural place to clear the vector, especially
since this method is cleari...

0b8ed93820c98ed39046103ca6951591394b55eb authored about 5 years ago by Jonas Devlieghere <[email protected]>
Re-land "[dsymutil] Fix handling of common symbols in multiple object files."

The original patch got reverted because it hit a long-standing legacy
issue on Windows that prev...

e38a29d8d291cf25c68fdd617f9eac42bc618a92 authored about 5 years ago by Jonas Devlieghere <[email protected]>
[dsymutil] Improve verbose output (NFC)

The verbose output for finding relocations assumed that we'd always dump
the DIE after (which st...

1395d1664906adb07b6de84a6f5be69548615b19 authored about 5 years ago by Jonas Devlieghere <[email protected]>
[dsymutil] Fix stack-use-after-scope

The lambda is taking the stack-allocated Verify boolean by reference and
it would go out of scop...

d56b01192ec57c9ea6af83983e6e75d477d64f81 authored about 5 years ago by Jonas Devlieghere <[email protected]>
[dsymutil] Don't overload LinkOptions.

This should fix the build bots:

error: declaration of ‘llvm::dsymutil::LinkOptions
Dsymutil...

31074dcd3c873178753ac0323226e4e2bf1b3af7 authored about 5 years ago by Jonas Devlieghere <[email protected]>
Fix build failure with GCC on identifier reusing.

- GCC is different from clang and other compilers on that.
https://godbolt.org/z/CeQE1V

git-s...

cf7505be24061bc3f9d262a8bd3f6d3b066819c6 authored about 5 years ago by Michael Liao <[email protected]>
[dsymutil] Improve consistency by removing redundant namespaces (NFC)

The dsymutil implementation file has a using-directive for the llvm
namespace. This patch just r...

9d36d57cdb5d99b3f949b83a79a76e9694b61b89 authored about 5 years ago by Jonas Devlieghere <[email protected]>
[dsymutil] Tablegenify option parsing

This patch reimplements command line option parsing in dsymutil with
Tablegen and libOption. The...

ef428e408ecfcc74451dc0b60936773be43f1e3c authored about 5 years ago by Jonas Devlieghere <[email protected]>
Merge remote-tracking branch 'origin/apple/stable/20190619' into stable

8a0e09c2a4b20e5b0c9c5e3356b7f076c9ec2f67 authored about 5 years ago by swift_jenkins <[email protected]>
[InstrProf] Tighten a check for malformed data records in raw profiles

The check needs to validate a counter offset before performing pointer
arithmetic with the (pote...

c4f6a896c6b09bd253d56afc9a3e0f42b267a36c authored about 5 years ago by Vedant Kumar <[email protected]>
Second attempt to add iterator_range::empty() (#174)

Doing this makes MSVC complain that `empty(someRange)` could refer to
either C++17's std::empty...

4dd855803e94402ff7ed282f2bd12a38ff14bfcc authored about 5 years ago by Jordan Rose <[email protected]>
Merge remote-tracking branch 'origin/apple/stable/20190619' into stable

4177a842e3d1b70d539c2ad19ce3b464898299a0 authored about 5 years ago by swift_jenkins <[email protected]>
[CodeExtractor] Factor out and reuse shrinkwrap analysis

Factor out CodeExtractor's analysis of allocas (for shrinkwrapping
purposes), and allow the anal...

ffbe03aa11cedc8c0435dd50dc21d3c9520b7cea authored about 5 years ago by Vedant Kumar <[email protected]>
Invalidate assumption cache before outlining.

Subscribers: llvm-commits

Tags: #llvm

Reviewers: compnerd, vsk, sebpop, fhahn, tejohnson

Revi...

85ab52aad749b9a811d63fcbe26297d246baf54c authored about 5 years ago by Aditya Kumar <[email protected]>
Add a unittest to verify for assumption cache

Reviewers: vsk, tejohnson

Reviewed By: vsk

Differential Revision: https://reviews.llvm.org/D68...

ec3fca9c3998d89923bc7db2dbd865a6748422b6 authored about 5 years ago by Aditya Kumar <[email protected]>
[CodeExtractor] NFC: Refactor sanity checks into isEligible

Reviewers: fhahn

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews...

d3669f55898d76797aca6ebb5412a0ba52d0320e authored about 5 years ago by Aditya Kumar <[email protected]>
NFC: directly return when CommonExitBlock != Succ

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68330

...

24031ea46393aefbf796bd11d708032d5fcf5a58 authored about 5 years ago by Aditya Kumar <[email protected]>
[CodeExtractor] Simplify findAllocas, NFC

Split getLifetimeMarkers out into its own method and have it return a
struct.

Differential Revi...

03224ee8942f1efddcc278cd9442b8a132fb8e09 authored about 5 years ago by Vedant Kumar <[email protected]>
[NFC] Move hot cold splitting class to header file

Summary: This is to facilitate unittests

Reviewers: compnerd, vsk, tejohnson, sebpop, brzycki,...

3e7b711f930abc0112f926052b6f811d7cf7fd07 authored about 5 years ago by Aditya Kumar <[email protected]>
[CodeExtractor] Fix sinking of allocas with multiple bitcast uses (PR42451)

An alloca which can be sunk into the extraction region may have more
than one bitcast use. Move ...

abcefbea7ed17ef0d8dccd530255459cf6d3b01b authored about 5 years ago by Vedant Kumar <[email protected]>
[Remarks] Pass StringBlockValue as StringRef.

After changing the remark serialization, we now pass StringRefs to the
serializer. We should use...

7627f6916645da8c87659cb13fabc14848d06f34 authored about 5 years ago by Florian Hahn <[email protected]>
Merge remote-tracking branch 'origin/apple/stable/20190619' into stable

d1510a2b472db7193050e49f78cb27970be906b5 authored about 5 years ago by swift_jenkins <[email protected]>
ARM-Darwin: keep the frame register reserved even if not updated.

Darwin platforms need the frame register to always point at a valid record even
if it's not upda...

a7db240aed1f6c082c0b862987c651316529c066 authored about 5 years ago by Tim Northover <[email protected]>
Merge remote-tracking branch 'origin/apple/stable/20190619' into stable

1f54080bb604e06a61edd3fb7d3bc7652d667670 authored about 5 years ago by swift_jenkins <[email protected]>
Merge pull request #171 from edymtt/cherry-pick-unwind-tables

build: serialise `LLVM_ENABLE_UNWIND_TABLES` into LLVMConfig

857b4234caa0745678fa48b91924fe2a32ace4f2 authored about 5 years ago by Eric Miotto <[email protected]>
Merge remote-tracking branch 'origin/apple/stable/20190619' into stable

973a4f6b2a35df19f9f8b1d49f18593b5eb512c9 authored about 5 years ago by Mishal Shah <[email protected]>
[YAMLIO] Remove trailing spaces when outputting maps

llvm::yaml::Output::paddedKey unconditionally outputs spaces, which
are superfluous if the value...

6553e238d1466ab5524144d8d7fd1b5e35fa4099 authored about 5 years ago by Fangrui Song <[email protected]>
Merge pull request #172 from compnerd/lld-support

lld support

64ac6b0a33d746aeff597b2802769b4f7ed171b4 authored about 5 years ago by Saleem Abdulrasool <[email protected]>
[WebAssembly] Implement thread-local storage (local-exec model)

Summary:
Thread local variables are placed inside a `.tdata` segment. Their symbols are
offsets ...

fd3dbf4ce2dae2c0642474e89ed78f538a95d830 authored about 5 years ago by Guanzhong Chen <[email protected]>
[WebAssembly] Add option to emit passive segments

Summary:
Adds `--passive-segments` and `--active-segments` flags to control
what kind of segment...

d005459c0bc82fa628cd685b7acb7d0839fb9d97 authored about 5 years ago by Thomas Lively <[email protected]>
Cleanup: llvm::bsearch -> llvm::partition_point after r364719

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364720 91177308-0d34-0410-b5e6-96231b3b...

135e0fd8b64ed85692768d79e80dc937fafc4562 authored about 5 years ago by Fangrui Song <[email protected]>
[ADT] Implement llvm::bsearch() with std::partition_point()

Summary:
Delete the begin-end form because the standard std::partition_point
can be easily used ...

03433088591c8432ca8f6cab66e1afbe517714e8 authored about 5 years ago by Fangrui Song <[email protected]>
[WebAssembly] Fix list of relocations with addends in lld

Summary:
The list of relocations with addend in lld was missing `R_WASM_MEMORY_ADDR_REL_SLEB`,
c...

dfff800cf609d1a36235e8ad12835d96a54093fc authored about 5 years ago by Keno Fischer <[email protected]>
SlotIndexes: simplify IdxMBBPair operators

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364152 91177308-0d34-0410-b5e6-96231b3b...

288331b89a9987d9e1ec9ac3170a656bfa3dd4d1 authored about 5 years ago by Fangrui Song <[email protected]>
Simplify std::lower_bound with llvm::{bsearch,lower_bound}. NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364006 91177308-0d34-0410-b5e6-96231b3b...

805bcb9c27e4c71ba2bb00ffd71e34261c9db261 authored about 5 years ago by Fangrui Song <[email protected]>
[llvm-objdump] Switch between ARM/Thumb based on mapping symbols.

The ARMDisassembler changes allow changing between ARM and Thumb mode
based on the MCSubtargetIn...

8521515a0beff58c24e69963171953a365f15979 authored about 5 years ago by Eli Friedman <[email protected]>
build: serialise `LLVM_ENABLE_UNWIND_TABLES` into LLVMConfig

Serialize the value of the configuration option into the configuration so that
builds which inte...

50f1e3e500b98a62c6e870aaa5064262304e7732 authored about 5 years ago by Saleem Abdulrasool <[email protected]>
Merge pull request #170 from apple/stable-next

Update stable branch from apple/stable/20190619 branch

5bccd3526fd93ceb9e9de4ece0ffa2c5e26a9a02 authored about 5 years ago by Mishal Shah <[email protected]>
Rebranch stable branch with apple/stable/20190619

a235ce53aab3cb8983db351a6403e52490cfc9f0 authored about 5 years ago by mishal_shah <[email protected]>
[InstSimplify] Match 1.0 and 0.0 for both operands in SimplifyFMAMul

Because we do not constant fold multiplications in SimplifyFMAMul,
we match 1.0 and 0.0 for both...

24ac417eec573b4f392c975a64571d3c5431e2f3 authored about 5 years ago by Florian Hahn <[email protected]>
[InstCombine] Limit FMul constant folding for fma simplifications.

As @reames pointed out post-commit, rL371518 adds additional rounding
in some cases, when doing ...

b8d33d5beba44a62117edf67e358c1045f36d5de authored about 5 years ago by Florian Hahn <[email protected]>
Revert [InstCombine] Use SimplifyFMulInst to simplify multiply in fma.

This introduces additional rounding error in some cases. See D67434.

This reverts r371518 (git ...

f06879f6e86807285dbdcea17dadf5fffb211e7e authored about 5 years ago by Florian Hahn <[email protected]>
[AArch64] Convert neon_ushl and neon_sshl with positive constants to VSHL.

I think we should be able to use shl instead of sshl and ushl for
positive constant shift values...

71a2d2181cf15abb85c55be0296e32662ce00789 authored about 5 years ago by Florian Hahn <[email protected]>
[AArch64] support neon_sshl and neon_ushl in performIntrinsicCombine.

Try to generate ushll/sshll for aarch64_neon_ushl/aarch64_neon_sshl,
if their first operand is e...

c719fe2fcd2dc75e408b9254ccccfa4997ec50ab authored about 5 years ago by Florian Hahn <[email protected]>
Merge pull request #168 from brentdax/globalfell

[GlobalISel] Disable GlobalISel for ARM64 -O0.

b67e2df3651012229bba15b01e8ccf3dad44398a authored about 5 years ago by Brent Royal-Gordon <[email protected]>
[GlobalISel] Disable GlobalISel for ARM64 -O0.

From: Amara Emerson <[email protected]>

36c3c93256962ab1c14736b9e4279722e8586732 authored about 5 years ago by Brent Royal-Gordon <[email protected]>
Fix nm on GCC 5.1 after the C++14 move

Summary:
As in D66306, fix the invocation of std::sort with std::function by not using
std::func...

08999789c72b8a7c78dee5e01467a407c0ac562c authored about 5 years ago by JF Bastien <[email protected]>
Merge pull request #167 from atrick/add-tinyintptr-20190619

Add TinyPtrVector support for general pointer-like things.

d812862941d12dc74871b2828dd70e2e3e8dabd6 authored over 5 years ago by Andrew Trick <[email protected]>
Add TinyPtrVector support for general pointer-like things.

In particular, make TinyPtrVector<PtrIntPair<T *, 1>> work. Remove all
unnecessary assumptions t...

c8744337452e63d87b1d060bac96acd3b8dd7a0a authored over 5 years ago by Andrew Trick <[email protected]>
[Coverage] Speed up file-based queries for coverage info, NFC

Speed up queries for coverage info in a file by reducing the amount of
time spent determining wh...

91ef92645e0775ad676dbf53a4e332af493240e7 authored over 5 years ago by Vedant Kumar <[email protected]>
[Coverage] Assert that filenames in a TU are unique, NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372024 91177308-0d34-0410-b5e6-96231b3b...

ac6428990d5b3ec94f9d8d6619db7d8981140bbb authored over 5 years ago by Vedant Kumar <[email protected]>
[TextAPI] Update reader to be supported by lib/Object

Summary:
To be able to use the TextAPI/Reader for tbd file consumption (by libObject)
it gets pa...

b064cc724ba0b4a2519ae7e0e15688b0b46d6cde authored over 5 years ago by Cyndy Ishida <[email protected]>
[TextAPI] Fix & Add tests for tbd files version 3.

- There was a simple typo in TextStub code that prevented version 3 files to be read.
- Included...

3355eab4baeeefb90b91270e269fb630a46aaeb0 authored over 5 years ago by Juergen Ributzka <[email protected]>
[BasicBlockUtils] Add optional BBName argument, in line with BB:splitBasicBlock

Reviewers: spatel, asbirlea, craig.topper

Reviewed By: asbirlea

Differential Revision: https:/...

1737aa4c7bddac91a9cb86e10bdd769368629ab1 authored over 5 years ago by Florian Hahn <[email protected]>
FileManager: Use llvm::Expected in new getFileRef API

`FileManager::getFileRef` is a modern API which we expect to convert to
over time. We should mo...

c4af334e3264e3cd37af76fc9c933cb99d382f3a authored over 5 years ago by Duncan P. N. Exon Smith <[email protected]>
[InstCombine] Use SimplifyFMulInst to simplify multiply in fma.

This allows us to fold fma's that multiply with 0.0. Also, the
multiply by 1.0 case is handled t...

df3beed82684265d0a923c130dfe68d2cc956cfa authored over 5 years ago by Florian Hahn <[email protected]>
[InstCombine] Precommit tests for D67351.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371517 91177308-0d34-0410-b5e6-96231b3b...

053f2122b7461243add12023ac778f028a3a66a3 authored over 5 years ago by Florian Hahn <[email protected]>
[MC] Fix undefined behavior in MCInstPrinter::formatHex

Passing INT64_MIN to MCInstPrinter::formatHex triggers undefined
behavior because the negation o...

9b39ed41b39e145b2c68d7eb25a462ff17d27f1b authored over 5 years ago by Jonas Devlieghere <[email protected]>
[GVN] Do PHI translations across all edges between the load and the unavailable pred.

Currently we do not properly translate addresses with PHIs if LoadBB !=
LI->getParent(), because...

600d4924c6b43be475b6123348b4a82c88e397a8 authored over 5 years ago by Florian Hahn <[email protected]>
[docs][Remarks] Add documentation for remarks in LLVM

This adds documentation that describes remarks in LLVM.

It aims at explaining what remarks are,...

d419938795724408e70dab6a76d747849f35221d authored over 5 years ago by Francis Visoiu Mistrih <[email protected]>
[MachO][TLOF] Use hasLocalLinkage to determine if indirect symbol is local

Local symbols in the indirect symbol table contain the value
`INDIRECT_SYMBOL_LOCAL` and the cor...

712e0d43cab021b2442e976e18c26db2f1b08dfc authored over 5 years ago by Francis Visoiu Mistrih <[email protected]>
[yaml2obj] Move core yaml2obj code into lib and include for use in unit tests

Reviewers: jhenderson, rupprecht, MaskRay, grimar, labath

Reviewed By: rupprecht

Subscribers: ...

e8ddb5f7dc203f158d4a8cf81cc785350101a6c7 authored over 5 years ago by Alex Brachet <[email protected]>
Revert "[yaml2obj] Move core yaml2obj code into lib and include for use in unit tests"

This reverts commit r368021, it broke tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm...

9e7045959c089fb0bcd27cbdad1daf0378b3fbbe authored over 5 years ago by Dmitri Gribenko <[email protected]>
[yaml2obj] Move core yaml2obj code into lib and include for use in unit tests

Reviewers: jhenderson, rupprecht, MaskRay, grimar, labath

Reviewed By: rupprecht

Subscribers: ...

eddb23be7d544694a57cb6848650ad071812c2c6 authored over 5 years ago by Alex Brachet <[email protected]>
[llvm-readobj] - Remove unwrapOrError(ErrorOr<T> EO) helper.

It is outdated. Using of Expected<> is preferred, also it does
not provide a way to report a fil...

dfd97d80b230643429cd768cea15835357f95edc authored over 5 years ago by George Rimar <[email protected]>
[llcm-readobj] - Fix BB after t368272.

Seems I forgot to update this test case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/tru...

27fba20a7281b82ab1eafd6a336792868b52c40c authored over 5 years ago by George Rimar <[email protected]>
[yaml2obj/obj2yaml] - Add a basic support for extended section indexes.

In some cases a symbol might have section index == SHN_XINDEX.
This is an escape value indicatin...

12ef0df8a4f7e8567e28b0bfbbf9a8e72bfb5408 authored over 5 years ago by George Rimar <[email protected]>
[ELF] - An attemp to fix builld bit after r368260

BB: http://lab.llvm.org:8011/builders/lld-perf-testsuite/builds/17577/steps/build-bin%2Flld/logs...

7806ad3f93fdf7ef0289bd7637043dfb44c22ddc authored over 5 years ago by George Rimar <[email protected]>
[llvm-readobj/libObject] - Introduce a custom warning handler for `ELFFile<ELFT>` methods.

Currently, we have a code duplication in llvm-readobj which was introduced in D63266.
The duplic...

5250d9ddc686b9f6026e862dee089213351093a8 authored over 5 years ago by George Rimar <[email protected]>
[obj2yaml] - MIPS: move and improve testing of the e_flags

Mips/elf-flags.yaml and Mips/elf-abi.yaml are tests that intention was to
show that yaml2obj/obj...

ed980e1cdbf3d7b850adbf007d5d39bf008ca6d4 authored over 5 years ago by George Rimar <[email protected]>
[ELF.h] - Check the case when e_shstrndx=SHN_XINDEX, but the corresponding sh_link is broken.

When e_shstrndx is equal to SHN_XINDEX,
the index of the section string table section should
be ...

10d9d537b5a2dfef5b89fddbb4bf0e4e95b16c19 authored over 5 years ago by George Rimar <[email protected]>
[test/Object] - Cleanup the Object\obj2yaml.test a bit.

This makes 2 changes:

1) Removes unwind-section.elf-x86-64 object and the corresponding test ca...

dfa82479e6c85df8f438c95b969b0b7ec61caa5c authored over 5 years ago by George Rimar <[email protected]>
[llvm/test/Object] - Cleanup and move out the yaml2obj tests.

There are multiple yaml2obj-* tests in llvm/test/Object
folder. This is not correct place to hav...

34469dfbe9ae82f92e46567c5fdbfbf272c2277d authored over 5 years ago by George Rimar <[email protected]>
[yaml2obj] - Allow overriding sh_entsize for SHT_GNU_versym sections.

This allows to write a test case for one of untested errors
in llvm/Object/ELF.h.

I did it in t...

5d3e921f00685fe7513e17e9eda56b8d45f8dbc2 authored over 5 years ago by George Rimar <[email protected]>
[obj2yaml] - Teach tool to dump SHT_NULL sections.

Recently an advanced support of SHT_NULL sections
was implemented in yaml2obj.

This patch adds ...

ea8d7542513d488d542a1ff74081981d84da1a86 authored over 5 years ago by George Rimar <[email protected]>
[llvm/Object] - Remove ELFFile<ELFT>::getSection(const StringRef SectionName). NFC.

This method is dead. It was introduced in D47989,
but now the logic from D63475 is used in llvm-...

5c911c924762e2a88a49744207625629305a71ca authored over 5 years ago by George Rimar <[email protected]>
[llvm-objcopy] - Fix the strip-dwo-groups.test.

It was reported (https://reviews.llvm.org/D65273#1612246)
that this test fails if the compilatio...

c47f001483c6a8561faf0b5250d2d4c172e47072 authored over 5 years ago by George Rimar <[email protected]>
[llvm/Object] - Add a test for "empty string table" error.

This error was never tested. In this patch I improved
the error message, added the test case and...

2d8036391ddf5199f3cb5c20ba4a7230b0ccca77 authored over 5 years ago by George Rimar <[email protected]>
[llvm-objcopy] - Stop using Inputs/alloc-symtab.o

Initially Inputs/alloc-symtab.o was added in D42222.
It contains an allocatable .symtab section....

a4f664d4c5c208ab5dc1a1cf8e034b7f1123b982 authored over 5 years ago by George Rimar <[email protected]>
[obj2yaml] - Report a error when unable to resolve a sh_link reference properly.

Because of a bug we did not report a error in the case
shown in the test. With this patch we do....

d2fef29e6d244366f9b55c07e245c0017ab42cde authored over 5 years ago by George Rimar <[email protected]>
[llvm-objcopy] - Reimplement strip-dwo-groups.test to stop using the precompiled object.

When llvm-copy removes .dwo sections the index of symbol table,
the indices of the symbols and t...

daccdfdc871e373cc86c8ad2c4018b1dfe642bc9 authored over 5 years ago by George Rimar <[email protected]>
Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."

With fix: do not use `stat` tool.

Original commit message:

This is a follow-up refactoring pat...

74c22d5179c93a249dd4ebd4ede302223489f3e5 authored over 5 years ago by George Rimar <[email protected]>
Revert "[yaml2obj] - Allow custom fields for the SHT_UNDEF sections."

It fails on macOS with the following error:
https://reviews.llvm.org/D65140#1599522

git-svn-i...

a54353cd2c86df79820d5b99cf843f6f2284c52e authored over 5 years ago by JF Bastien <[email protected]>
[llvm-objdump] - Import the test/Object/X86/no-start-symbol.test test case and rewrite it to use YAML.

This patch removes test/Object/X86/no-start-symbol.test (rewrites
it to use YAML and moves it to...

55450bf5cf25699d768cea9e54dcf675aa3c4ea2 authored over 5 years ago by George Rimar <[email protected]>
[Object/llvm-readobj] - Cleanup testing of the dynamic objects.

This patch touches a few test cases:

It removes dtflags.elf-x86-64 binary and elf-dtflags.test....

76e86d91f21e768543e0f65f8d3f6ef39f7f6651 authored over 5 years ago by George Rimar <[email protected]>
[yaml2obj] - Allow custom fields for the SHT_UNDEF sections.

This is a follow-up refactoring patch for recently
introduced functionality which which reduces ...

807f105f0dd98518c5834071a4bbdd551f91651b authored over 5 years ago by George Rimar <[email protected]>