Commit 1c90ba6
let tracepoint info section inherit section group
Summary:
Originally submitted by github user aliher1911 https://github.com/aliher1911 in: https://github.com/aliher1911. However, the files were moved around and the importer cannot import this PR.
Original description:
> When section group is inherited from the function where tracepoint is defined, tracepoint definition could be discarded by linker together with function correctly. Otherwise tracepoint would reference discarded section and cause linker to fail as in facebook/folly#1395.
Closes: facebook/folly#1396.
Fixes: facebook/folly#1395.
Fixes: facebook/fbthrift#384.
Reviewed By: Orvid
Differential Revision: D62073054
fbshipit-source-id: d75de3f3c37d3110ae5bc88cd0b6c3de5ebe331f1 parent 527cecc commit 1c90ba6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
0 commit comments