Commit 87be52a
fix: resolve critical linking failures in decomposed modules
Fixed symbol visibility issues preventing proper module linking:
1. Fixed mlir_backend.f90 re-export module to use explicit imports
- Changed from generic 'use module' to 'use module, only: symbols'
- Ensures all symbols are properly imported and re-exported
- Resolves "undefined reference to generate_mlir_module" error
2. Fixed fortran_backend.f90 re-export module similarly
- Applied same explicit import pattern for consistency
- Prevents future linking issues
3. Fixed format string syntax error in hlfir_dialect.f90
- Corrected write statement format specifier
- Removed extra 'A' from '(A,L1,A,L1,A,L1,A)' -> '(A,L1,A,L1,A,L1)'
4. Fixed performance_benchmarks.f90 test
- Replaced non-existent destroy_memory_tracker() call
- Changed to tracker%cleanup() method call
All changes maintain API compatibility while ensuring proper symbol export.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 209230d commit 87be52a
File tree
4 files changed
+40
-11
lines changed- src
- backend
- fortran
- mlir
- dialects
- test
4 files changed
+40
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
5 | 15 | | |
6 | 16 | | |
7 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
8 | 27 | | |
9 | 28 | | |
10 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
0 commit comments