Skip to content
Commit 5b42b45f authored by Chris Lattner's avatar Chris Lattner
Browse files

simplify DarwinTargetAsmInfo::SelectSectionForGlobal a bit

and make it more aggressive, we now put:

const int G2 __attribute__((weak)) = 42;

into the text (readonly) segment like gcc, previously we put
it into the data (readwrite) segment.

llvm-svn: 77104
parent 26ce308b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment