diff options
author | Guy David <guyda96@gmail.com> | 2025-09-16 13:08:12 -0700 |
---|---|---|
committer | Guy David <guyda96@gmail.com> | 2025-09-16 13:08:12 -0700 |
commit | 1589c07c93ec5c14123e6d5145d25df3a69a37bc (patch) | |
tree | ee8c950f78d06db91d6863aeac704d4ec6e39e25 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | b369237c98906891f9e56fd4be4109a25b79e3e9 (diff) | |
download | llvm-users/guy-david/separate-indirectbr.zip llvm-users/guy-david/separate-indirectbr.tar.gz llvm-users/guy-david/separate-indirectbr.tar.bz2 |
Separate indirectbrusers/guy-david/separate-indirectbr
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index c02ac18..fea0a46 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1527,6 +1527,11 @@ private: /// codegen'd as a jump to the IndirectBranch's basic block. llvm::IndirectBrInst *IndirectBranch = nullptr; + /// AddressTakenLabels - Collection of address-taken labels for indirect gotos. + /// Each indirect goto statement will create its own indirectbr instruction + /// with all these labels as possible destinations. + llvm::SmallVector<llvm::BasicBlock *, 8> AddressTakenLabels; + /// LocalDeclMap - This keeps track of the LLVM allocas or globals for local C /// decls. DeclMapTy LocalDeclMap; |