summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-09-22 22:21:44 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-09-22 22:21:44 +0000
commitdf963a38a9e27fc43b485dfdf52bc1b090087e06 (patch)
tree9a49e3bea8937e1d04a394a5873c53e90ee2086d /lldb/packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py
parent5fc494288882e923cbdc68a77cdb152c797b1b5b (diff)
downloadbcm5719-llvm-df963a38a9e27fc43b485dfdf52bc1b090087e06.tar.gz
bcm5719-llvm-df963a38a9e27fc43b485dfdf52bc1b090087e06.zip
DR1113: anonymous namespaces formally give their contents internal linkage.
This doesn't affect our code generation in any material way -- we already give such declarations internal linkage from a codegen perspective -- but it has some subtle effects on code validity. We suppress the 'L' (internal linkage) marker for mangled names in anonymous namespaces, because it is redundant (the information is already carried by the namespace); this deviates from GCC's behavior if a variable or function in an anonymous namespace is redundantly declared 'static' (where GCC does include the 'L'), but GCC's behavior is incoherent because such a declaration can be validly declared with or without the 'static'. We still deviate from the standard in one regard here: extern "C" declarations in anonymous namespaces are still granted external linkage. Changing those does not appear to have been an intentional consequence of the standard change in DR1113. llvm-svn: 314037
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud