[llvm] [llvm-jitlink] Add optional index argument in jitlink-check stub_addr() expressions (PR #78369)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 18 19:06:59 PST 2024
Stefan =?utf-8?q?Gränitz?= <stefan.graenitz at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/78369 at github.com>
lhames wrote:
What about using a generic string key rather than an index? So uses would look like:
```
stub_addr("foo.o", func, plt-stub)
stub_addr("foo.o", func, thumb-stub)
...
```
We don't need the test infrastructure to be fast, and this might make it easier to read?
https://github.com/llvm/llvm-project/pull/78369
More information about the llvm-commits
mailing list