llvm.org GIT mirror llvm / a4475bb
Add a few items to the 3.6 release notes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@226582 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 4 years ago
1 changed file(s) with 94 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
283283 (although ``scope:`` is required).
284284
285285
286 Alias syntax change
287 -----------------------
288
289 The syntax for aliases is now closer to what is used for global variables
290
291 .. code-block:: llvm
292
293 @a = weak global ...
294 @b = weak alias ...
295
296 The order of the ``alias`` keyword and the linkage was swapped before.
297
298 The old JIT has been removed
299 ----------------------------
300
301 All users should transition to MCJIT.
302
303
304 object::Binary doesn't owns the file buffer
305 -------------------------------------------
306
307 It is now just a wrapper, which simplifies using object::Binary with other
308 users of the underlying file.
309
310 IR in object files is now supported
311 -----------------------------------
312
313 Regular object files can contain IR in a section named ``.llvmbc``.
314
315
316 The gold plugin has been rewritten
317 ----------------------------------
318
319 It is now implemented directly on top of lib/Linker instead of ``lib/LTO``.
320 The API of ``lib/LTO`` is sufficiently different from gold's view of the
321 linking process that some cases could not be conveniently implemented.
322
323 The new implementation is also lazier and has a ``save-temps`` option.
324
325
326 Change in the representation of lazy loaded funcs
327 -------------------------------------------------
328
329 Lazy loaded functions are now represented is a way that ``isDeclaration``
330 returns the correct answer even before reading the body.
331
332
333 The opt option -std-compile-opts was removed
334 --------------------------------------------
335
336 It was effectively an alias of -O3.
337
338
339 Python 2.7 is now required
340 --------------------------
341
342 This was done to simplify compatibility with python 3.
343
344 The leak detector has been removed
345 ----------------------------------
346
347 In practice tools like asan and valgrind were finding way more bugs than
348 the old leak detector, so it was removed.
349
350
351 New comdat syntax
352 -----------------
353
354 The syntax of comdats was changed to
355
356 .. code-block:: llvm
357
358 $c = comdat any
359 @g = global i32 0, comdat($c)
360 @c = global i32 0, comdat
361
362 The version without the parentheses is a syntatic sugar for a comdat with
363 the same name as the global.
364
365
366 Diagnotic infrastructure used by lib/Linker and lib/Bitcode
367 -----------------------------------------------------------
368
369 These libraries now use the diagnostic handler to print errors and warnings.
370 This provides better error messages and simpler error handling.
371
372
373 The PreserveSource linker mode was removed
374 ------------------------------------------
375
376 It was fairly broken and was removed.
377
378
379
286380 Changes to the ARM Backend
287381 --------------------------
288382