File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1837,9 +1837,9 @@ template <class ELFT> void LinkerDriver::compileBitcodeFiles() {
1837
1837
1838
1838
// The --wrap option is a feature to rename symbols so that you can write
1839
1839
// wrappers for existing functions. If you pass `-wrap=foo`, all
1840
- // occurrences of symbol `foo` are resolved to `wrap_foo ` (so, you are
1841
- // expected to write `wrap_foo ` function as a wrapper). The original
1842
- // symbol becomes accessible as `real_foo `, so you can call that from your
1840
+ // occurrences of symbol `foo` are resolved to `__wrap_foo ` (so, you are
1841
+ // expected to write `__wrap_foo ` function as a wrapper). The original
1842
+ // symbol becomes accessible as `__real_foo `, so you can call that from your
1843
1843
// wrapper.
1844
1844
//
1845
1845
// This data structure is instantiated for each -wrap option.
You can’t perform that action at this time.
0 commit comments