summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-10-08 00:08:49 +0000
committerManman Ren <manman.ren@gmail.com>2013-10-08 00:08:49 +0000
commit4f755deaf659f2b07ed4f83eb5b73a68c9b2eade (patch)
tree8a95ff30a82387c1ccad4278a4227a75dbdea4d1 /lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
parentdb49a5df475ba63e09a7abc2c40e9f6334a91e75 (diff)
downloadbcm5719-llvm-4f755deaf659f2b07ed4f83eb5b73a68c9b2eade.tar.gz
bcm5719-llvm-4f755deaf659f2b07ed4f83eb5b73a68c9b2eade.zip
TBAA: use the same format for scalar TBAA and struct-path aware TBAA.
An updated version of r191586 with bug fix. Struct-path aware TBAA generates tags to specify the access path, while scalar TBAA only generates tags to scalar types. We should not generate a TBAA tag with null being the first field. When a TBAA type node is null, the tag should be null too. Make sure we don't decorate an instruction with a null TBAA tag. Added a testing case for the bug reported by Richard with -relaxed-aliasing and -fsanitizer=thread. llvm-svn: 192145
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud