[What Every C Programmer Should Know About Undefined Behavior #1/3 ã®ç¿»è¨³ã§ãã] LLVMã§ã³ã³ãã¤ã«ããã³ã¼ãã¯ãæé©åãæå¹ã«ãã¦ããã¨ãã¾ã«SIGTRAPã·ã°ãã«ãçæããã®ã¯ãªããªã®ããã¨èããããã¨ãããããããã調ã¹ããã¨ã(X86ã§ã®è©±ã ã) Clang㯠"ud2" ã¤ã³ã¹ãã©ã¯ã·ã§ã³ãçæãã¦ãããã¨ãããã£ãã"ud2" ã¯__builtin_trap()ãçæããã¤ã³ã¹ãã©ã¯ã·ã§ã³ã¨åããã®ã ã[訳注: #UDä¾å¤ãçºçãããå½ä»¤ãã½ããã¦ã§ã¢ã#UDä¾å¤ããã³ãã«ã§ãã¦ããããã¹ãããããã«ä½¿ããããã¤ã¾ããã½ã¼ã¹ã³ã¼ããæªå®ç¾©ãªæ¯ãèãã使ã£ã¦ãããããLLVMã¯ud2ã¤ã³ã¹ãã©ã¯ã·ã§ã³ãçæããã®ã§ãã£ã¦ãLLVMã®ãã°ã§ã¯ãªããã¨ãããã¨] ããããåé¡ã¯å¹¾ã¤ããã£ã¦ããã¹ã¦ãCã®æªå®ç¾©ãªæ¯ã
{{#tags}}- {{label}}
{{/tags}}