diff options
author | Weiming Zhao <weimingz@codeaurora.org> | 2014-06-22 00:33:44 +0000 |
---|---|---|
committer | Weiming Zhao <weimingz@codeaurora.org> | 2014-06-22 00:33:44 +0000 |
commit | 58eb5ab3266f6c7e04b5ae7ec92fa741eea45422 (patch) | |
tree | 55db4ca83a6dc4cd0dfc4ecc4dfcb864f621231d /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 579cf371899768903da16f8f195ebc718e77f6b2 (diff) | |
download | llvm-58eb5ab3266f6c7e04b5ae7ec92fa741eea45422.zip llvm-58eb5ab3266f6c7e04b5ae7ec92fa741eea45422.tar.gz llvm-58eb5ab3266f6c7e04b5ae7ec92fa741eea45422.tar.bz2 |
Report error for non-zero data in .bss
User may initialize a var with non-zero value and specify .bss section.
E.g. : int a __attribute__((section(".bss"))) = 2;
This patch converts an assertion to error report for better user
experience.
Differential Revision: http://reviews.llvm.org/D4199
llvm-svn: 211455
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions