https://sourceware.org/bugzilla/show_bug.cgi?id=26626
--- Comment #13 from sguelton at redhat dot com ---
I've been giving extra thoughts to the missing-symbol sub command. Why would
you pass the file where the missing symbol was found? Do you have any specific
scenario in mind? I wond
https://sourceware.org/bugzilla/show_bug.cgi?id=26626
--- Comment #11 from sguelton at redhat dot com ---
Thanks for the patch!
I didn't provide the implementation of `missing-symbol` for lld, I'll sync with
yours.
Small notes: whatever the result of the error handling script (espec
https://sourceware.org/bugzilla/show_bug.cgi?id=26626
--- Comment #9 from sguelton at redhat dot com ---
Something like that maybe (on good ol' RHEL7)?
```
#!/usr/bin/bash
if [ "x$1" != xmissing-lib ]
then
# silently error
exit 1
fi
lib="$2"
pkgs=$(yum provi
https://sourceware.org/bugzilla/show_bug.cgi?id=26626
--- Comment #7 from sguelton at redhat dot com ---
For testing, something as simple as
```
#!/bin/sh
echo "script: info: called with $*"
```
should do the trick :-)
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=26626
--- Comment #4 from sguelton at redhat dot com ---
For reference, I've added a documentation of the expectation for the error
handling script in https://reviews.llvm.org/D87758
--
You are receiving this mail because:
You are on the CC
https://sourceware.org/bugzilla/show_bug.cgi?id=26626
--- Comment #3 from sguelton at redhat dot com ---
I Like the idea. I'll update the LLVM review to reflect that.
For starters, lets focus on `normalizing' missing-library.
I agree with
missing-symbol foo
--
You are receiving
https://sourceware.org/bugzilla/show_bug.cgi?id=26626
--- Comment #1 from sguelton at redhat dot com ---
For reference, cross posted to https://reviews.llvm.org/D87758
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=26626
sguelton at redhat dot com changed:
What|Removed |Added
Summary|Provide a hook to customize |Provide a hook to
: ld
Assignee: unassigned at sourceware dot org
Reporter: sguelton at redhat dot com
Target Milestone: ---
It would be nice to be able to provide a custom script that would help users to
find missing libraries. A possible scenario could be:
% clang /tmp/a.c -loauth -Wl