summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/static-init-2.cpp
diff options
context:
space:
mode:
authorFrederic Riss <friss@apple.com>2015-03-06 23:22:50 +0000
committerFrederic Riss <friss@apple.com>2015-03-06 23:22:50 +0000
commit9d441b68a345d691bb8d3ac13492fcd9f9f57e32 (patch)
treef1153f82e37f236ff022abdcd37ebe1fde5bb738 /clang/test/CodeGenCXX/static-init-2.cpp
parent718c60e203a83787afb38596de48ad7b3c9eafc8 (diff)
downloadbcm5719-llvm-9d441b68a345d691bb8d3ac13492fcd9f9f57e32.tar.gz
bcm5719-llvm-9d441b68a345d691bb8d3ac13492fcd9f9f57e32.zip
[dsymutil] Set linked unit start offset early. NFC.
The start offset of a linked unit is known before starting to clone its DIEs. Handling DW_FORM_ref_addr attributes requires that this offset is set while cloning the unit. Split CompileUnit::computeOffsets() into setStartOffset() and computeNextUnitOffset() and call them repsectively before cloning the DIEs and right after. llvm-svn: 231530
Diffstat (limited to 'clang/test/CodeGenCXX/static-init-2.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud