Avoid fingerprinting the absolute path to the source file
This change aims to make source files relocatable w.r.t. to the interface files produced by the compiler. This is so that we can download interface files produced by a cloud build system and then reuse them in a local ghcide session catch another case of implicit includes actually use the implicit quote includes add another missing case recomp020 test that .hi files are reused even if .hs files are moved to a new location Added recomp021 to record behaviour with non implicit includes add a note additional pointer to the note Mention #16956 in Note (cherry picked from commit 9faafb0a)
Showing
- compiler/GHC/Driver/Pipeline.hs 8 additions, 5 deletionscompiler/GHC/Driver/Pipeline.hs
- compiler/GHC/Driver/Session.hs 32 additions, 2 deletionscompiler/GHC/Driver/Session.hs
- compiler/GHC/Iface/Recomp/Flags.hs 5 additions, 1 deletioncompiler/GHC/Iface/Recomp/Flags.hs
- testsuite/tests/driver/recomp020/A.hs 4 additions, 0 deletionstestsuite/tests/driver/recomp020/A.hs
- testsuite/tests/driver/recomp020/Makefile 15 additions, 0 deletionstestsuite/tests/driver/recomp020/Makefile
- testsuite/tests/driver/recomp020/all.T 4 additions, 0 deletionstestsuite/tests/driver/recomp020/all.T
- testsuite/tests/driver/recomp021/A.hs 6 additions, 0 deletionstestsuite/tests/driver/recomp021/A.hs
- testsuite/tests/driver/recomp021/B.hs 1 addition, 0 deletionstestsuite/tests/driver/recomp021/B.hs
- testsuite/tests/driver/recomp021/Makefile 16 additions, 0 deletionstestsuite/tests/driver/recomp021/Makefile
- testsuite/tests/driver/recomp021/all.T 4 additions, 0 deletionstestsuite/tests/driver/recomp021/all.T
- testsuite/tests/driver/recomp021/recomp021.stdout 1 addition, 0 deletionstestsuite/tests/driver/recomp021/recomp021.stdout
Loading
Please register or sign in to comment