aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlexander Yermolovich <ayermolo@meta.com>2023-06-01 12:06:47 -0700
committerAlexander Yermolovich <ayermolo@meta.com>2023-06-01 12:06:47 -0700
commit01ef213b855da7a0e0ac7206d27c71f2f5345ca7 (patch)
tree1ce01c83aece1d4d5a54ba80da4b5dd4a1c00936 /flang/lib/Frontend/CompilerInvocation.cpp
parent09515f2c20111628ce81ad5f40e12e5f6af5ed2f (diff)
downloadllvm-01ef213b855da7a0e0ac7206d27c71f2f5345ca7.zip
llvm-01ef213b855da7a0e0ac7206d27c71f2f5345ca7.tar.gz
llvm-01ef213b855da7a0e0ac7206d27c71f2f5345ca7.tar.bz2
[BOLT][DWARF] Fix handling of GCed CU function
A CU can have only one function so CU will have low_pc/high_pc. If this funciton is GCed by LLD low_pc will become 0x0, and BOLT can't map this to output. We kind of were getting away with it in monolithic DWARF, but with split DWARF there is only skeleton CU, so we end up with rnglist with header and array, but no body. This caused LLDB to report an error. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D151845
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions