diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-03-10 03:58:36 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-03-10 03:58:36 +0000 |
commit | fcc28218827b226092e27c77b5700e1f3c9c71b6 (patch) | |
tree | a2d5726662a6aba217559804ce59a24ca832505b /clang/lib/CodeGen/CGOpenCLRuntime.cpp | |
parent | d45a3f1a030b4bdea0d02ab85d9ecebc55003904 (diff) | |
download | bcm5719-llvm-fcc28218827b226092e27c77b5700e1f3c9c71b6.tar.gz bcm5719-llvm-fcc28218827b226092e27c77b5700e1f3c9c71b6.zip |
Use a better name for compile unit labels.
They mark the start of a compile unit, so name them .Lcu_*. Using
Section->getLabelBeginName() makes it looks like they mark the start of the
section.
While at it, switch to createTempSymbol to avoid collisions with labels
created in inline assembly. Not sure if a "don't crash" test is worth it.
With this getLabelBeginName is dead, delete it.
llvm-svn: 231750
Diffstat (limited to 'clang/lib/CodeGen/CGOpenCLRuntime.cpp')
0 files changed, 0 insertions, 0 deletions