diff options
| author | Nikita Popov <npopov@redhat.com> | 2022-12-13 11:58:06 +0100 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2022-12-14 13:38:20 +0100 |
| commit | e45cf479231fc144b4e1eb8b3e3bd2f578b6907d (patch) | |
| tree | 6fd848625c2dd5f0684a3771082815372b948bfd /llvm/test/Bitcode/thinlto-function-summary.ll | |
| parent | d8f91f2c1d0955da5d30ca297f2979bf6c01d8a3 (diff) | |
[Bitcode] Remove auto-detection for typed pointers
Always read bitcode according to the -opaque-pointers mode. Do not
perform auto-detection to implicitly switch to typed pointers.
This is a step towards removing typed pointer support, and also
eliminates the class of problems where linking may fail if a typed
pointer module is loaded before an opaque pointer module. (The
latest place where this was encountered is D139924, but this has
previously been fixed in other places doing bitcode linking as well.)
Differential Revision: https://reviews.llvm.org/D139940
Diffstat (limited to 'llvm/test/Bitcode/thinlto-function-summary.ll')
| -rw-r--r-- | llvm/test/Bitcode/thinlto-function-summary.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Bitcode/thinlto-function-summary.ll b/llvm/test/Bitcode/thinlto-function-summary.ll index 68636ed192a1..e51cf1049108 100644 --- a/llvm/test/Bitcode/thinlto-function-summary.ll +++ b/llvm/test/Bitcode/thinlto-function-summary.ll @@ -60,8 +60,8 @@ entry: ; entries are committed. ; Check an anonymous function as well, since in that case only the alias ; ends up in the value symbol table and having a summary. -@f = alias void (), void ()* @0 ; <void ()*> [#uses=0] -@h = external global void ()* ; <void ()*> [#uses=0] +@f = alias void (), void ()* @0 ; <ptr> [#uses=0] +@h = external global void ()* ; <ptr> [#uses=0] define internal void @0() nounwind { entry: |
