|
@@ -29,6 +29,10 @@ impl FDEFinder for GlobalFinder {
|
|
|
if let Some(v) = registry::get_finder().find_fde(pc) {
|
|
|
return Some(v);
|
|
|
}
|
|
|
+ #[cfg(feature = "fde-gnu-eh-frame-hdr")]
|
|
|
+ if let Some(v) = gnu_eh_frame_hdr::get_finder().find_fde(pc) {
|
|
|
+ return Some(v);
|
|
|
+ }
|
|
|
#[cfg(feature = "fde-phdr")]
|
|
|
if let Some(v) = phdr::get_finder().find_fde(pc) {
|
|
|
return Some(v);
|
|
@@ -37,10 +41,6 @@ impl FDEFinder for GlobalFinder {
|
|
|
if let Some(v) = fixed::get_finder().find_fde(pc) {
|
|
|
return Some(v);
|
|
|
}
|
|
|
- #[cfg(feature = "fde-gnu-eh-frame-hdr")]
|
|
|
- if let Some(v) = gnu_eh_frame_hdr::get_finder().find_fde(pc) {
|
|
|
- return Some(v);
|
|
|
- }
|
|
|
None
|
|
|
}
|
|
|
}
|