[all-commits] [llvm/llvm-project] 8e2dba: [clang][bytecode] Fix defining extern variables (#...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Sep 17 06:21:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e2dbab24276a8521d241463b4161c78bc4d39d2
      https://github.com/llvm/llvm-project/commit/8e2dbab24276a8521d241463b4161c78bc4d39d2
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M clang/lib/AST/ByteCode/Program.cpp
    A clang/test/AST/ByteCode/extern.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix defining extern variables (#108940)

At the point of defintion of the variable, a function might already
refert to the variable by its index. Replace the index with the new one.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list