aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlex Langford <alangford@apple.com>2023-05-15 13:21:15 -0700
committerAlex Langford <alangford@apple.com>2023-05-16 12:54:38 -0700
commit631ff46cbf51dce943f5c136bb6b2b283a8053c0 (patch)
tree7c8dfdea48fcc1d2610c0c0259870e3420a0bd6a /flang/lib/Frontend/CompilerInvocation.cpp
parentc5c6ea8e12b623880597963ce7274223b47ac5d2 (diff)
downloadllvm-631ff46cbf51dce943f5c136bb6b2b283a8053c0.zip
llvm-631ff46cbf51dce943f5c136bb6b2b283a8053c0.tar.gz
llvm-631ff46cbf51dce943f5c136bb6b2b283a8053c0.tar.bz2
[DebugInfo][NFCI] Refactor DWARFAbbreviationDeclaration::extract
The motivation behind this refactor is to be able to use DWARFAbbreviationDeclaration from LLDB. LLDB has its own implementation of DWARFAbbreviationDeclaration that is very similar to LLVM's but it has different semantics around error handling. This patch modifies llvm::DWARFAbbreviationDeclaration::extract to return an `llvm::Expected<ExtractState>` to differentiate between "I am done extracting" and "An error has occured", something which the current return type (bool) does not accurately capture. Differential Revision: https://reviews.llvm.org/D150607
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions